Editing C++ style guide
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 118: | Line 118: | ||
put extra braces anywhere if it improves clarity. | put extra braces anywhere if it improves clarity. | ||
The negation operator is written with a space between the operator | |||
and its target, e.g., {{codeline|! A}}. | |||
Declarations of pointers have the '*' character cuddled with the ''name'' of the variable. | Declarations of pointers have the '*' character cuddled with the ''name'' of the variable. | ||
Line 131: | Line 132: | ||
unsigned int& reference_variable; | unsigned int& reference_variable; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Function headers === | === Function headers === |