summaryrefslogtreecommitdiff
path: root/libstdc++-v3/docs
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-10 20:16:04 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-10 20:16:04 +0000
commit88de1c430b285df732586b41c9023ebe5f0adca0 (patch)
treeb30072d6d04cc3ff9ef52ff3a1879d6d70cb490e /libstdc++-v3/docs
parent3eb7ba9b779711dd0172aa4560b4fc0526bb2e92 (diff)
downloadgcc-88de1c430b285df732586b41c9023ebe5f0adca0.tar.gz
2007-12-10 Jonathan Wakely <jwakely.gcc@gmail.com>
* docs/html/21_strings/howto.html: Add links to referenced articles. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130749 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/docs')
-rw-r--r--libstdc++-v3/docs/html/21_strings/howto.html20
1 files changed, 8 insertions, 12 deletions
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 @@
<hr />
<h2><a name="2">A case-insensitive string class</a></h2>
<p>The well-known-and-if-it-isn't-well-known-it-ought-to-be
- <a href="http://www.gotw.ca/gotw/index.htm">Guru of the Week</a>
+ <a href="http://www.gotw.ca/gotw/">Guru of the Week</a>
discussions held on Usenet covered this topic in January of 1998.
Briefly, the challenge was, &quot;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 ); </pre>
- <p>The solution is surprisingly easy. The original answer pages
- on the GotW website were removed into cold storage, in
- preparation for
- <a href="http://cseng.aw.com/bookpage.taf?ISBN=0-201-61562-2">a
- published book of GotW notes</a>. Before being
- put on the web, of course, it was posted on Usenet, and that
- posting containing the answer is <a href="gotw29a.txt">available
- here</a>.
+ <p>The solution is surprisingly easy. The <a href="gotw29a.txt">original
+ answer</a> was posted on Usenet, and a revised version appears in
+ Herb Sutter's book <em>Exceptional C++</em> and on his website as
+ <a href="http://www.gotw.ca/gotw/029.htm">GotW 29</a>.
</p>
<p>See? Told you it was easy!</p>
- <p><strong>Added June 2000:</strong> The May issue of <u>C++ Report</u>
- contains
- a fascinating article by Matt Austern (yes, <em>the</em> Matt Austern)
+ <p><strong>Added June 2000:</strong> The May 2000 issue of <u>C++ Report</u>
+ contains a fascinating <a href="http://lafstern.org/matt/col2_new.pdf">
+ article</a> by Matt Austern (yes, <em>the</em> Matt Austern)
on why case-insensitive comparisons are not as easy as they seem,
and why creating a class is the <em>wrong</em> way to go about it in
production code. (The GotW answer mentions one of the principle