]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/29368 (wrong STL docs for rfind())
authorPaolo Carlini <pcarlini@suse.de>
Fri, 6 Oct 2006 11:48:34 +0000 (11:48 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 6 Oct 2006 11:48:34 +0000 (11:48 +0000)
2006-10-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29368
* include/bits/basic_string.h: Adjust rfind documentation.
* include/ext/vstring.h: Likewise.

From-SVN: r117498

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h

index 25a833da83235b42d8777671961b651e474d6c32..8e89cd354760fc8a7fd7a449bb6bd221a9ed1945 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-06  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/29368
+       * include/bits/basic_string.h: Adjust rfind documentation.
+
 2006-04-10  Matthias Klose  <doko@debian.org>
 
        * testsuite/lib/libstdc++.exp (libstdc++_init): Recognize multilib
index 6cd684bd35e3fd4bf94c65ca2bd7ec1cdf43208d..254d21ea5bc034453f8882a96c02a4cca37d801c 100644 (file)
@@ -1,6 +1,6 @@
 // Components for manipulating sequences of characters -*- C++ -*-
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -1618,7 +1618,7 @@ namespace std
       /**
        *  @brief  Find last position of a C string.
        *  @param s  C string to locate.
-       *  @param pos  Index of character to start search at (default 0).
+       *  @param pos  Index of character to start search at (default end).
        *  @return  Index of start of  last occurrence.
        *
        *  Starting from @a pos, searches backward for the value of @a s within
@@ -1635,7 +1635,7 @@ namespace std
       /**
        *  @brief  Find last position of a character.
        *  @param c  Character to locate.
-       *  @param pos  Index of character to search back from (default 0).
+       *  @param pos  Index of character to search back from (default end).
        *  @return  Index of last occurrence.
        *
        *  Starting from @a pos, searches backward for @a c within this string.