Hi Everybody,
I saw in a lot of boost header files the following lines:
#if _MSC_VER >= 1020
#pragma once
#endif
or even better:
#if _MSC_VER+0 >= 1020
#pragma once
#endif
But not only MS compilers have the pragma once, which is in my opinion
very useful. Why don't we define a BOOST_HAS_PRAGMA_ONCE in the
compiler-specific config headers? Then we could write:
#if BOOST_HAS_PRAGMA_ONCE
#pragma once
#endif
Alberto Barbati
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
- Re: [boost] #pragma once Alberto Barbati
- Re: [boost] #pragma once Gennaro Prota
- [boost] Re: #pragma once Alberto Barbati
- [boost] Re: #pragma once Gennaro Prota
- [boost] Re: #pragma once Alberto Barbati
- [boost] Re: #pragma once Gennaro Prota
- Re: [boost] Re: #pragma once [EMAIL PROTECTED]