Changes between Version 25 and Version 26 of CodingStyle


Ignore:
Timestamp:
Aug 1, 2012, 1:29:22 PM (12 years ago)
Author:
Nicolas
Comment:

Change example of a "specific" header. thisfile.h is exactly what shouldn't be at the end...

Legend:

Unmodified
Added
Removed
Modified
  • CodingStyle

    v25 v26  
    137137
    138138 * 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`).
    140140
    141141=== Extern declarations === #extern