Changes between Version 23 and Version 24 of CodingStyle
- Timestamp:
- Aug 1, 2012, 1:16:50 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStyle
v23 v24 137 137 138 138 * A `.cpp` file should have the minimum set of #includes to get that particular file to compile (e.g. the includes needed by {{{foo.cpp}}} should be in {{{foo.cpp}}}, not {{{foo.h}}}). 139 * Includes should be ordered from specific (`thisfile.h`) to general (`<stdio.h>`).139 * foo.cpp should include foo.h first; after that, includes should be ordered from general (`<stdio.h>`) to specific (`thisfile.h`). 140 140 141 141 === Extern declarations === #extern