GCC support for C++ noexcept

Jonathan Wakely jwakely.gcc@gmail.com
Tue Jul 28 09:42:00 GMT 2015


On 28 July 2015 at 00:17, Edward Diener wrote:
> I see your point. The code I mentioned should really be:
>
> #if defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(__cplusplus) &&
> __cplusplus >= 201103L

The defined(__cplusplus) check is redundant, an undefined token in a
preprocessor conditional is treated as 0.



More information about the Gcc-help mailing list