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]

[C++ Patch] Add __GXX_EXPERIMENTAL_CXX1Y__


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.

///////////////////////

Attachment: CL_cxx1y_macro
Description: Text document

Attachment: patch_cxx1y_macro
Description: Text document


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