]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
howto.html: Use locale::classic() instead of locale("C").
authorJonathan Wakely <redi@gcc.gnu.org>
Wed, 30 Jul 2003 14:43:35 +0000 (15:43 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 30 Jul 2003 14:43:35 +0000 (15:43 +0100)
2003-07-30  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/22_locale/howto.html: Use locale::classic() instead
of locale("C").

From-SVN: r69956

libstdc++-v3/ChangeLog
libstdc++-v3/docs/html/22_locale/howto.html

index 03af623e4ae65a600e34aa5b86d2369d67fd69aa..90626cc3de3f46854a80561bec4977b629d45274 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-30  Jonathan Wakely  <redi@gcc.gnu.org>
+
+       * docs/html/22_locale/howto.html: Use locale::classic() instead
+       of locale("C").
+
 2003-07-28  Benjamin Kosnik  <bkoz@redhat.com>
 
        * testsuite/testsuite_hooks.h: Remove list include.
index d6a340c9e54828d536df72de37689c7cec31de81..0000c277d099c089269a0e6c110b5ebf651ba855 100644 (file)
    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);