Commit 9ae8aa52 by Paolo Carlini Committed by Paolo Carlini

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
parent 2b22e382
2010-04-03 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/basic_string.h: Fix pasto in comment.
* include/ext/vstring.h: Likewise.
2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.in: Regenerate. * Makefile.in: Regenerate.
......
...@@ -1414,10 +1414,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -1414,10 +1414,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
* @throw std::length_error If new length exceeds @c max_size(). * @throw std::length_error If new length exceeds @c max_size().
* *
* Removes the characters in the range [pos,pos + n1) from this string. * 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 * In place, the characters of @a s are inserted. If @a pos is beyond
* pos is beyond end of string, out_of_range is thrown. If the length * end of string, out_of_range is thrown. If the length of result
* of result exceeds max_size(), length_error is thrown. The value of * exceeds max_size(), length_error is thrown. The value of the string
* the string doesn't change if an error is thrown. * doesn't change if an error is thrown.
*/ */
basic_string& basic_string&
replace(size_type __pos, size_type __n1, const _CharT* __s) replace(size_type __pos, size_type __n1, const _CharT* __s)
......
...@@ -1219,11 +1219,10 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) ...@@ -1219,11 +1219,10 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
* @throw std::length_error If new length exceeds @c max_size(). * @throw std::length_error If new length exceeds @c max_size().
* *
* Removes the characters in the range [pos,pos + n1) from this * Removes the characters in the range [pos,pos + n1) from this
* string. In place, the first @a __n characters of @a __s are * string. In place, the characters of @a __s are inserted. If
* inserted. If @a pos is beyond end of string, out_of_range * @a pos is beyond end of string, out_of_range is thrown. If
* is thrown. If the length of result exceeds max_size(), * the length of result exceeds max_size(), length_error is thrown.
* length_error is thrown. The value of the string doesn't * The value of the string doesn't change if an error is thrown.
* change if an error is thrown.
*/ */
__versa_string& __versa_string&
replace(size_type __pos, size_type __n1, const _CharT* __s) replace(size_type __pos, size_type __n1, const _CharT* __s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment