diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index aca4a736cb7..d374db8c53a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2007-12-10 Jonathan Wakely + + * docs/html/21_strings/howto.html: Add links to referenced articles. + 2007-12-10 Jonathan Wakely * docs/html/17_intro/backwards_compatibility.html: Fix markup. diff --git a/libstdc++-v3/docs/html/21_strings/howto.html b/libstdc++-v3/docs/html/21_strings/howto.html index d5cd24d4ddb..bdc868a02dc 100644 --- a/libstdc++-v3/docs/html/21_strings/howto.html +++ b/libstdc++-v3/docs/html/21_strings/howto.html @@ -159,7 +159,7 @@

A case-insensitive string class

The well-known-and-if-it-isn't-well-known-it-ought-to-be - Guru of the Week + Guru of the Week discussions held on Usenet covered this topic in January of 1998. Briefly, the challenge was, "write a 'ci_string' class which is identical to the standard 'string' class, but is @@ -177,19 +177,15 @@ assert( strcmp( s.c_str(), "AbCdE" ) == 0 ); assert( strcmp( s.c_str(), "abcde" ) != 0 ); -

The solution is surprisingly easy. The original answer pages - on the GotW website were removed into cold storage, in - preparation for - a - published book of GotW notes. Before being - put on the web, of course, it was posted on Usenet, and that - posting containing the answer is available - here. +

The solution is surprisingly easy. The original + answer was posted on Usenet, and a revised version appears in + Herb Sutter's book Exceptional C++ and on his website as + GotW 29.

See? Told you it was easy!

-

Added June 2000: The May issue of C++ Report - contains - a fascinating article by Matt Austern (yes, the Matt Austern) +

Added June 2000: The May 2000 issue of C++ Report + contains a fascinating + article by Matt Austern (yes, the Matt Austern) on why case-insensitive comparisons are not as easy as they seem, and why creating a class is the wrong way to go about it in production code. (The GotW answer mentions one of the principle