Macro for C++14 support

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Apr 22 01:58:00 GMT 2013


On Sun, Apr 21, 2013 at 12:05 PM, Paolo Carlini
<paolo.carlini@oracle.com> wrote:
> Hi,
>
> Jonathan Wakely <jwakely.gcc@gmail.com> ha scritto:
>
>>I'm starting to implement some new library features voted into C++14
>>at the Bristol meeting and am wondering what feature check to use.
>>
>>Will there be a macro like _GXX_EXPERIMENTAL_CXX1Y__ to correspond to
>>-std=c++1y?
>
> Humm, I'm still traveling (and a bit tired too) but I thought we already discussed this and concluded that it's a case similar to C++98 vs C++03, thus very easy to handle (no macro needed, etc)?!?
>
> Paolo
>

C++03 was essentially bug fixes to C++98 so we did not make the distinction.
C++14 is more than bug fixes to C++11, it contains many new extensions.
So I am unsure the situations are similar.

-- Gaby

-- Gaby



More information about the Gcc mailing list