Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
dev:dg_code_style_guide [2024/07/26 10:45] – [Classes] devadev:dg_code_style_guide [2024/07/26 10:46] (current) – [Classes] deva
Line 131: Line 131:
   int start_position{42}; // default value decided by the developer   int start_position{42}; // default value decided by the developer
   static constexpr int step_size{2}; // and use static constexpr whenever possible instead of defines   static constexpr int step_size{2}; // and use static constexpr whenever possible instead of defines
 +  std::array<int, 5> buckets{}; // default initializes all values at once
 }; };
 </code> </code>
dev/dg_code_style_guide.txt · Last modified: 2024/07/26 10:46 by deva
Trace:
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0