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 04/24/2013 12:48 PM, Gabriel Dos Reis wrote:
On Wed, Apr 24, 2013 at 11:26 AM, Jason Merrill <jason@redhat.com> wrote:
I would really rather avoid introducing another macro to be removed again
later.  Instead, let's use a value of __cplusplus greater than 201103L,
perhaps 201300?

yes, that makes sense, and even a better path forward.
Hopefully, the next committee draft will have that value.

We won't have a value for the next standard until we have a next standard, so let's just invent a value for now; presumably people will know better than to check for that invented value specifically.

Jason


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