A
Adrian
Hi All,
Just wondering if people have any opinions on how include's should be
ordered. Personally I use style A. Are there any practical reason for
either style. I assume both would have about the same compile time, so
no savings there.
Style A
#include <c++, system headers>
#include <library headers>
#include "local headers"
Style B
#include "local headers"
#include <library headers>
#include <c++, system headers>
Also what should be the goals of, or included in, a c++ coding
standard. I think they should be, (not in any order)
1. Standard and portable behavior
2. Readability of code
3. Best practices
As you may have guessed we are changing our internal coding standards.
Adrian
Just wondering if people have any opinions on how include's should be
ordered. Personally I use style A. Are there any practical reason for
either style. I assume both would have about the same compile time, so
no savings there.
Style A
#include <c++, system headers>
#include <library headers>
#include "local headers"
Style B
#include "local headers"
#include <library headers>
#include <c++, system headers>
Also what should be the goals of, or included in, a c++ coding
standard. I think they should be, (not in any order)
1. Standard and portable behavior
2. Readability of code
3. Best practices
As you may have guessed we are changing our internal coding standards.
Adrian