4 Feb
2015
4 Feb
'15
5:47 p.m.
On Wed, Feb 4, 2015 at 6:20 PM, Ion GaztaƱaga
Yes, it should be a very tiny help.. except if config.hpp also uses pragma once ;-)
And I've seen it uses it ;-)
#ifdef BOOST_HAS_PRAGMA_ONCE #pragma once #endif
so it would only help on compilers without pragma once, in any case, I just put that on one file and copy-pasted, there was no any clever intention on that.
Compilers without pragma once might also be smart enough not to reopen/reparse the entire file if they detect header guards.