This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch] Add __GXX_EXPERIMENTAL_CXX1Y__


On Wed, Apr 24, 2013 at 9:43 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>
> I believe this is all we need in order to get the ball rolling in the
> library for -std=c++1y.
>
> If we think it's conceptually clearer (no difference in practice, because
> cxx11 == cxx0x), for the legacy C++0x macro we could also do:
>
>       if (cxx_dialect >= cxx0x && cxx_dialect < cxx1y)
>          cpp_define (pfile, "__GXX_EXPERIMENTAL_CXX0X__");
>
> I'm finishing testing the below on x86_64-linux.
>
> Thanks,
> Paolo.
>
> ///////////////////////

I prefer the patch as you posted it.  I would like us to actually
move to deprecate __GXX_EXPERIMENTAL_CXX0X__ in
GCC-4.9 and remove it in the release after that.
I don't think our support C++11 is still that experimental.
we can't have experimental support for two C++ standards going on :-)
Other implementations are thumping the chest about
being C++11 feature complete for less than what we offer.

Patch OK.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]