C++ style guide: Difference between revisions

Jump to navigation Jump to search
m
Line 22: Line 22:


The curly braces defining the beginning and end of the block should appear on their own line.
The curly braces defining the beginning and end of the block should appear on their own line.
The braces should not be indented, i.e., they align at the same indentation level as the keyword such as {{codeline|class}}.
The braces should not be indented, i.e., they align at the same indentation level as the keyword such as {{codeline|class}}.
The body of the block is indented.  
The body of the block is indented.  


1,072

edits

Navigation menu