__GXX_EXPERIMENTAL_CXX0X__
Jonathan Wakely
jwakely.gcc@gmail.com
Thu Oct 21 19:38:00 GMT 2010
On 21 October 2010 18:52, Neal Becker <ndbecker2@gmail.com> wrote:
> I need a preprocessor macro to detect c++0x support. For now, that is
> __GXX_EXPERIMENTAL_CXX0X__
>
> but what happens once -std=c++0x is the default? Will this macro still
> be defined?
>
> Don't we need a
>
> __GXX_CXX0X__ ?
__cplusplus should be defined to the date the final standard gets
submitted - although there's a longstanding bug report that g++
defines __cplusplus to 1 currently.
I'm hoping that will change once C++0x support is no longer considered
experimental.
More information about the Gcc
mailing list