This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] improve example code in libstdc++ docs


This patch makes a slight change to the example of correct string
transformations in the libstdc++ online docs:

http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html#7

Benjamin pointed out that std::locale::classic() is a faster way to get
std::locale("C"), so I've changed the docs to use that.

2003-07-30  Jonathan Wakely  <redi@gcc.gnu.org>

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

Will commit this afternoon if there are no objections.

jon

-- 
"A woman drove me to drink, I never had the courtesy to thank her."
	- W.C. Fields

Attachment: libstdc++-docs_locale_classic.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]