aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext/vstring.h
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2010-04-03 20:45:49 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2010-04-03 20:45:49 +0000
commit9ae8aa52dd0b6f89313af771285c13fc52a6da6d (patch)
treefd9167918f9ca0825afc589d758cf2a194828a53 /libstdc++-v3/include/ext/vstring.h
parent2b22e3825d30db48c8d4eedba0a45591b19d0b9c (diff)
downloadgcc-9ae8aa52dd0b6f89313af771285c13fc52a6da6d.zip
gcc-9ae8aa52dd0b6f89313af771285c13fc52a6da6d.tar.gz
gcc-9ae8aa52dd0b6f89313af771285c13fc52a6da6d.tar.bz2
basic_string.h: Fix pasto in comment.
2010-04-03 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/basic_string.h: Fix pasto in comment. * include/ext/vstring.h: Likewise. From-SVN: r157955
Diffstat (limited to 'libstdc++-v3/include/ext/vstring.h')
-rw-r--r--libstdc++-v3/include/ext/vstring.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libstdc++-v3/include/ext/vstring.h b/libstdc++-v3/include/ext/vstring.h
index 721af00..fc469cb 100644
--- a/libstdc++-v3/include/ext/vstring.h
+++ b/libstdc++-v3/include/ext/vstring.h
@@ -1219,11 +1219,10 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
* @throw std::length_error If new length exceeds @c max_size().
*
* Removes the characters in the range [pos,pos + n1) from this
- * string. In place, the first @a __n characters of @a __s are
- * inserted. If @a pos is beyond end of string, out_of_range
- * is thrown. If the length of result exceeds max_size(),
- * length_error is thrown. The value of the string doesn't
- * change if an error is thrown.
+ * string. In place, the characters of @a __s are inserted. If
+ * @a pos is beyond end of string, out_of_range is thrown. If
+ * the length of result exceeds max_size(), length_error is thrown.
+ * The value of the string doesn't change if an error is thrown.
*/
__versa_string&
replace(size_type __pos, size_type __n1, const _CharT* __s)