GCC support for C++ noexcept

Jonathan Wakely jwakely.gcc@gmail.com
Mon Jul 27 08:36:00 GMT 2015


On 27 July 2015 at 09:34, Jonathan Wakely wrote:
> On 27 July 2015 at 05:17, Edward Diener wrote:
>>
>> Try
>>
>> #if defined(__GXX_EXPERIMENTAL_CXX0X__) || (__cplusplus >= 201103L)
>> // C++11 is in effect
>> #endif
>
>
> GCC 4.8 defines __cplusplus to the correct YYYYMMDD value so this is
> not necessary.

Oops, that should be YYYYMM of course.



More information about the Gcc-help mailing list