Changes between Version 23 and Version 24 of CodingStyle


Ignore:
Timestamp:
Aug 1, 2012, 1:16:50 PM (12 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CodingStyle

    v23 v24  
    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  * 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`).
    140140
    141141=== Extern declarations === #extern