6 Nov
2017
6 Nov
'17
6:50 p.m.
Andrey Semashev wrote:
On 11/06/17 21:03, Peter Dimov via Boost wrote:
Steven Watanabe wrote:
We don't usually define macros independently for every compiler version. The actual implementation generally looks like:
#if COMPILER_VERSION < NNN #define BOOST_NO_FEATURE #endif
which is always the same amount of work regardless of whether it's a positive or negative macro.
This ignores -std=... though.
We also test for BOOST_GCC_CXX11 or __cplusplus to take that into account.
Yes, it's the same either way, I guess. #if COMPILER_VERSION < NNN || COMPILER_CXX < 17 # define BOOST_NO_CXX17_FEATURE #endif