diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-03 20:45:49 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-03 20:45:49 +0000 |
| commit | 9883114e1843c8d67a75980d2e89efc4f44a20a5 (patch) | |
| tree | fd9167918f9ca0825afc589d758cf2a194828a53 | |
| parent | c6b80e5d0234fd1852219d2b629172d39eebe3d0 (diff) | |
| download | ppe42-gcc-9883114e1843c8d67a75980d2e89efc4f44a20a5.tar.gz ppe42-gcc-9883114e1843c8d67a75980d2e89efc4f44a20a5.zip | |
2010-04-03 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/basic_string.h: Fix pasto in comment.
* include/ext/vstring.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157955 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
| -rw-r--r-- | libstdc++-v3/include/bits/basic_string.h | 8 | ||||
| -rw-r--r-- | libstdc++-v3/include/ext/vstring.h | 9 |
3 files changed, 13 insertions, 9 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8f785317198..dba4af68492 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +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> * Makefile.in: Regenerate. diff --git a/libstdc++-v3/include/bits/basic_string.h b/libstdc++-v3/include/bits/basic_string.h index 312d4ed6cb6..b022c306053 100644 --- a/libstdc++-v3/include/bits/basic_string.h +++ b/libstdc++-v3/include/bits/basic_string.h @@ -1414,10 +1414,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std) * @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. + * 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. */ basic_string& replace(size_type __pos, size_type __n1, const _CharT* __s) diff --git a/libstdc++-v3/include/ext/vstring.h b/libstdc++-v3/include/ext/vstring.h index 721af0084ad..fc469cbdc04 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) |

