From: Jonathan Wakely Date: Wed, 30 Jul 2003 14:43:35 +0000 (+0100) Subject: howto.html: Use locale::classic() instead of locale("C"). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48b3222dccc9ae95c9c7ae4ceae9b72e664e39a9;p=gcc.git howto.html: Use locale::classic() instead of locale("C"). 2003-07-30 Jonathan Wakely * docs/html/22_locale/howto.html: Use locale::classic() instead of locale("C"). From-SVN: r69956 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 03af623e4ae..90626cc3de3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2003-07-30 Jonathan Wakely + + * docs/html/22_locale/howto.html: Use locale::classic() instead + of locale("C"). + 2003-07-28 Benjamin Kosnik * testsuite/testsuite_hooks.h: Remove list include. diff --git a/libstdc++-v3/docs/html/22_locale/howto.html b/libstdc++-v3/docs/html/22_locale/howto.html index d6a340c9e54..0000c277d09 100644 --- a/libstdc++-v3/docs/html/22_locale/howto.html +++ b/libstdc++-v3/docs/html/22_locale/howto.html @@ -187,9 +187,8 @@ int main () { std::string s("Some Kind Of Initial Input Goes Here"); - std::locale loc_c("C"); - ToUpper up(loc_c); - ToLower down(loc_c); + ToUpper up(std::locale::classic()); + ToLower down(std::locale::classic()); // Change everything into upper case. std::transform(s.begin(), s.end(), s.begin(), up);