C++ style guide: Difference between revisions
Jump to navigation
Jump to search
m (Formatting changes only) |
m (New recommendation for ordering) |
||
Line 100: | Line 100: | ||
Within a class, the different access blocks should appear in the order 1) {{codeline|public}}, 2) {{codeline|protected}}, 3) {{codeline|private}}. | Within a class, the different access blocks should appear in the order 1) {{codeline|public}}, 2) {{codeline|protected}}, 3) {{codeline|private}}. | ||
Within an access block, member functions should be specified before member variables. | |||
=== Namespace === | === Namespace === |