1,072
edits
m (→Namespace) |
m (→Formatting) |
||
Line 84: | Line 84: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==== #ifdef directives ==== | |||
Indent code that follows a conditional processor directive such as {{codeline|#ifdef}} or {{codeline|else}}. | |||
Example | |||
<syntaxhighlight lang="cpp"> | |||
#if defined (HAVE_CONFIG_H) | |||
# include "config.h" | |||
#endif | |||
</syntaxhighlight> | |||
The '#' character may also be placed with the directive rather than remaining in column 1. | |||
==== Split long expressions ==== | ==== Split long expressions ==== |
edits