Odd little typo

Jonathan Wakely cow@compsoc.man.ac.uk
Tue Nov 19 07:29:00 GMT 2002


On Tue, Nov 19, 2002 at 11:35:10AM +0100, John Gustafsson wrote:

> Go to:
> 
> http://gcc.gnu.org/onlinedocs/libstdc++/20_util/howto.html
> 
> search for "pain". Yes, it should be pair.

Thanks for spotting this.

2002-11-19  John Gustafsson  <forgoil@rsn.bth.se>

	* docs/html/20_util/howto.html: fix typo.

I'll commit this later (should I wait for approval on docs typos like this?)

jon

-------------- next part --------------
Index: docs/html/20_util/howto.html
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/docs/html/20_util/howto.html,v
retrieving revision 1.15
diff -u -r1.15 howto.html
--- docs/html/20_util/howto.html	7 Oct 2002 18:11:19 -0000	1.15
+++ docs/html/20_util/howto.html	19 Nov 2002 10:56:46 -0000
@@ -172,7 +172,7 @@
       handle member function templates:
    </p>
    <pre>
-    template <class U, class V> pain (const pair<U,V>& p);
+    template <class U, class V> pair (const pair<U,V>& p);
    </pre>
    <p>The compiler will convert as necessary from U to T1 and from
       V to T2 in order to perform the respective initializations.


More information about the Libstdc++ mailing list