From: Jonathan Wakely Date: Thu, 16 Sep 2021 14:36:31 +0000 (+0100) Subject: libstdc++: Update documentation that only refers to c++98 and c++11 X-Git-Tag: basepoints/gcc-13~4718 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd0df30a7bc7a2e98e643cf84901e5383f83c005;p=thirdparty%2Fgcc.git libstdc++: Update documentation that only refers to c++98 and c++11 Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * doc/xml/manual/using.xml: Generalize to apply to more than just -std=c++11. * doc/html/manual/using_macros.html: Regenerate. --- diff --git a/libstdc++-v3/doc/html/manual/using_macros.html b/libstdc++-v3/doc/html/manual/using_macros.html index 44afa81f6146..edbbd03c3360 100644 --- a/libstdc++-v3/doc/html/manual/using_macros.html +++ b/libstdc++-v3/doc/html/manual/using_macros.html @@ -57,7 +57,7 @@ removes older ARM-style iostreams code, and other anachronisms from the API. This macro is dependent on the version of the standard being tracked, and as a result may give different results for - -std=c++98 and -std=c++11. This may + different -std options. This may be useful in updating old C++ code which no longer meet the requirements of the language, or for checking current code against new language standards. diff --git a/libstdc++-v3/doc/xml/manual/using.xml b/libstdc++-v3/doc/xml/manual/using.xml index 24543e9526e4..65fde4609dba 100644 --- a/libstdc++-v3/doc/xml/manual/using.xml +++ b/libstdc++-v3/doc/xml/manual/using.xml @@ -1065,7 +1065,7 @@ g++ -Winvalid-pch -I. -include stdc++.h -H -g -O2 hello.cc -o test.exe removes older ARM-style iostreams code, and other anachronisms from the API. This macro is dependent on the version of the standard being tracked, and as a result may give different results for - -std=c++98 and -std=c++11. This may + different -std options. This may be useful in updating old C++ code which no longer meet the requirements of the language, or for checking current code against new language standards.