aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2006-10-06 11:47:56 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2006-10-06 11:47:56 +0000
commit9f23fee6973f5dff7729ebdbfa205a194e25758a (patch)
treedd56aa6dd68430981f1bdb5bafcbd6dd0f69992a
parentbcf0248a99ea6484c0f2680aa87f10a98fb86a83 (diff)
downloadgcc-9f23fee6973f5dff7729ebdbfa205a194e25758a.zip
gcc-9f23fee6973f5dff7729ebdbfa205a194e25758a.tar.gz
gcc-9f23fee6973f5dff7729ebdbfa205a194e25758a.tar.bz2
re PR libstdc++/29368 (wrong STL docs for rfind())
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: r117496
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/bits/basic_string.h4
-rw-r--r--libstdc++-v3/include/ext/vstring.h4
3 files changed, 10 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e90d8f8..057d0eb 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,11 @@
2006-10-06 Paolo Carlini <pcarlini@suse.de>
+ PR libstdc++/29368
+ * include/bits/basic_string.h: Adjust rfind documentation.
+ * include/ext/vstring.h: Likewise.
+
+2006-10-06 Paolo Carlini <pcarlini@suse.de>
+
PR libstdc++/29354
* include/bits/sstream.tcc (basic_stringbuf<>::seekpos(pos_type,
ios_base::openmode)): Allow for seek to pos_type(off_type(0))
diff --git a/libstdc++-v3/include/bits/basic_string.h b/libstdc++-v3/include/bits/basic_string.h
index 3e4f19d..56c3fe6 100644
--- a/libstdc++-v3/include/bits/basic_string.h
+++ b/libstdc++-v3/include/bits/basic_string.h
@@ -1627,7 +1627,7 @@ _GLIBCXX_BEGIN_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
@@ -1644,7 +1644,7 @@ _GLIBCXX_BEGIN_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.
diff --git a/libstdc++-v3/include/ext/vstring.h b/libstdc++-v3/include/ext/vstring.h
index 62e9673..c3a21b8 100644
--- a/libstdc++-v3/include/ext/vstring.h
+++ b/libstdc++-v3/include/ext/vstring.h
@@ -1363,7 +1363,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
/**
* @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
@@ -1380,7 +1380,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
/**
* @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.