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


Groups > comp.lang.c++ > #13847 > unrolled thread

What is __cplusplus for ISO/IEC 14882:2011?

Started byFrancois Grieu <fgrieu@gmail.com>
First post2012-02-08 15:19 +0100
Last post2012-02-08 21:48 +0100
Articles 4 — 3 participants

Back to article view | Back to comp.lang.c++


Contents

  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

#13847 — What is __cplusplus for ISO/IEC 14882:2011?

FromFrancois Grieu <fgrieu@gmail.com>
Date2012-02-08 15:19 +0100
SubjectWhat is __cplusplus for ISO/IEC 14882:2011?
Message-ID<4f328462$0$660$426a74cc@news.free.fr>
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?

  Francois Grieu

[toc] | [next] | [standalone]


#13850

FromVictor Bazarov <v.bazarov@comcast.invalid>
Date2012-02-08 09:49 -0500
Message-ID<jgu21l$544$1@dont-email.me>
In reply to#13847
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

[toc] | [prev] | [next] | [standalone]


#13854

FromFrancois Grieu <fgrieu@gmail.com>
Date2012-02-08 17:13 +0100
Message-ID<4f329f29$0$32652$426a74cc@news.free.fr>
In reply to#13850
On 08/02/2012 15:49, Victor Bazarov wrote:
> 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).

I (now) understand that "the latest publicly available draft" might be
something after approval of ISO/IEC 14882:2011, which would be a strong
indication that ISO/IEC 14882:2011 also has 201103L.

And indeed there is N3337 Dated: 2012-01-16, wich still has 201103L.

Thus I thank Victor Bazarov, remove my former message, and conclude
that most probably ISO/IEC 14882:2011 has 201103L.

  Francois Grieu

[toc] | [prev] | [next] | [standalone]


#13858

From"Bo Persson" <bop@gmb.dk>
Date2012-02-08 21:48 +0100
Message-ID<9pg5cpFeh0U1@mid.individual.net>
In reply to#13847
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?
>
>  Francois Grieu

N3291 (or its sister document N3290) *is* the document that was 
accepted as the standard.

It was just a Yes or No vote, with no changes allowed.


Bo Persson

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web