Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #13850

Re: What is __cplusplus for ISO/IEC 14882:2011?

From Victor Bazarov <v.bazarov@comcast.invalid>
Newsgroups comp.lang.c++
Subject Re: What is __cplusplus for ISO/IEC 14882:2011?
Date 2012-02-08 09:49 -0500
Organization A noiseless patient Spider
Message-ID <jgu21l$544$1@dont-email.me> (permalink)
References <4f328462$0$660$426a74cc@news.free.fr>

Show all headers | View raw


On 2/8/2012 9:19 AM, Francois Grieu wrote:
> In N3291 we have "The name __cplusplus is defined to the value 201103L
> when compiling a C++ translation unit."
>
> What's the value for that in ISO/IEC 14882:2011?

The paragraph [cpp.predefined]/1 says it shall be 201103L (from the 
latest publicly available draft).

V
-- 
I do not respond to top-posted replies, please don't ask

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What is __cplusplus for ISO/IEC 14882:2011? Francois Grieu <fgrieu@gmail.com> - 2012-02-08 15:19 +0100
  Re: What is __cplusplus for ISO/IEC 14882:2011? Victor Bazarov <v.bazarov@comcast.invalid> - 2012-02-08 09:49 -0500
    Re: What is __cplusplus for ISO/IEC 14882:2011? Francois Grieu <fgrieu@gmail.com> - 2012-02-08 17:13 +0100
  Re: What is __cplusplus for ISO/IEC 14882:2011? "Bo Persson" <bop@gmb.dk> - 2012-02-08 21:48 +0100

csiph-web