This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Macro for C++14 support
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Sun, 21 Apr 2013 20:58:50 -0500
- Subject: Re: Macro for C++14 support
- References: <CAH6eHdRC=1+VFUDFrt7kjFTy9QkTNB9tQB95-AUNMyKOyKkM+A at mail dot gmail dot com> <5a9d01b4-ced4-4912-8aef-c479a12b7c63 at email dot android dot com>
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