diff mbox

PING [C++ docs patch] PR 56544

Message ID 51C17420.2030808@oracle.com
State New
Headers show

Commit Message

Paolo Carlini June 19, 2013, 9:04 a.m. UTC
... I have no committed this simple doc update. Also, a 4_8-branch 
version, attached below.

Thanks,
Paolo.

////////////////////
2013-06-19  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/56544
	* doc/cpp.texi [Standard Predefined Macros, __cplusplus]: Document
	that now in C++ the value is correct per the C++ standards.
diff mbox

Patch

Index: doc/cpp.texi
===================================================================
--- doc/cpp.texi	(revision 200192)
+++ doc/cpp.texi	(working copy)
@@ -1926,11 +1926,9 @@  facilities of the standard C library available.
 This macro is defined when the C++ compiler is in use.  You can use
 @code{__cplusplus} to test whether a header is compiled by a C compiler
 or a C++ compiler.  This macro is similar to @code{__STDC_VERSION__}, in
-that it expands to a version number.  A fully conforming implementation
-of the 1998 C++ standard will define this macro to @code{199711L}.  The
-GNU C++ compiler is not yet fully conforming, so it uses @code{1}
-instead.  It is hoped to complete the implementation of standard C++
-in the near future.
+that it expands to a version number.  Depending on the language standard
+selected, the value of the macro is @code{199711L}, as mandated by the
+1998 C++ standard, or @code{201103L}, per the 2011 C++ standard.
 
 @item __OBJC__
 This macro is defined, with value 1, when the Objective-C compiler is in