
2 Apr
2006
2 Apr
'06
5:20 a.m.
Should I write (for example):
#include <iostream> #include <boost/test/unit_test.hpp>
or
#include <boost/test/unit_test.hpp> #include <iostream>
Or does it not matter?
I try to choose an order that will expose headers that fail to #include all the headers on which they depend. That means standard headers always come after boost headers.
The same here. Unfortunately this practice is exactly opposite to precompiler headers one. Gennadiy