Index: docs/html/22_locale/howto.html
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/docs/html/22_locale/howto.html,v
retrieving revision 1.16
diff -u -p -b -B -r1.16 howto.html
--- docs/html/22_locale/howto.html 20 Nov 2002 01:12:02 -0000 1.16
+++ docs/html/22_locale/howto.html 30 Jul 2003 11:43:17 -0000
@@ -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);