Boost logo

Boost :

Subject: Re: [boost] [config] Rethinking feature macros?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2017-11-06 18:35:27

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:
>>   #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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at