Changes

Jump to navigation Jump to search
2 bytes removed ,  19:20, 1 September 2021
m
Line 97: Line 97:  
=== Class declarations ===
 
=== Class declarations ===
   −
The access specifier ({{codeline|public:}}, {{codeline|protected:}}, {{codeline|private:}}) should always be stated rather than relying on the C++ language defaults for a particular object (for example, {{codeline|class = private}}).
+
The access specifier ({{codeline|public:}}, {{codeline|protected:}}, {{codeline|private:}}) should always be stated rather than relying on the C++ language defaults for a particular object (for example, {{codeline|class private}}).
    
Within a class the different access blocks should appear in the order 1) public, 2) protected, 3) private.
 
Within a class the different access blocks should appear in the order 1) public, 2) protected, 3) private.
970

edits

Navigation menu