Changes between Version 25 and Version 26 of CodingStyle
- Timestamp:
- Aug 1, 2012, 1:29:22 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStyle
v25 v26 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 * foo.cpp should include foo.h first; after that, includes should be ordered from general (`<stdio.h>`) to specific (` thisfile.h`).139 * foo.cpp should include foo.h first; after that, includes should be ordered from general (`<stdio.h>`) to specific (`shmem.h`). 140 140 141 141 === Extern declarations === #extern