diff options
author | Paolo Carlini <pcarlini@suse.de> | 2004-01-21 11:29:51 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2004-01-21 11:29:51 +0000 |
commit | e03a6fb7b651bbfdeebb71bede6545e0c85fb2e8 (patch) | |
tree | b0dccf231bf0f5eb3ad319788f4779c13a9e7dcb /libjava/java/awt/Container.java | |
parent | adc04486ee5d4b2f20dfdba93f8c4fd52e1ef9b9 (diff) | |
download | gcc-e03a6fb7b651bbfdeebb71bede6545e0c85fb2e8.zip gcc-e03a6fb7b651bbfdeebb71bede6545e0c85fb2e8.tar.gz gcc-e03a6fb7b651bbfdeebb71bede6545e0c85fb2e8.tar.bz2 |
basic_string.h (_M_check): Change to return a checked __pos and take an additional const char* argument.
2004-01-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (_M_check): Change to return
a checked __pos and take an additional const char* argument.
(_M_fold): Rename to _M_limit, change to return a size_type,
corresponding to the __off limited to the actual length.
(insert(size_type, size_type, _CharT)): Update call, call
replace.
(insert(iterator, _CharT)): Call replace(iterator, iterator,
size_type, _CharT) instead.
(erase(size_type, size_type)): Update calls.
(replace(size_type, size_type, size_type, _CharT)): Ditto.
(substr(size_type, size_type)): Use _M_check.
* include/bits/basic_string.tcc (basic_string(const basic_string&,
size_type, size_type)): Update calls.
(basic_string(const basic_string&, size_type, size_type,
const _Alloc&)): Ditto.
(assign(const basic_string&, size_type, size_type)): Use the
new _M_check and _M_limit.
(insert(size_type, const basic_string&, size_type, size_type):
Ditto.
(insert(size_type, const _CharT*, size_type)): Ditto.
(replace(size_type, size_type, const _CharT*, size_type): Ditto.
(replace(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(append(const basic_string&)): Ditto.
(append(const basic_string&, size_type, size_type)): Ditto.
(copy(_CharT*, size_type, size_type)): Ditto.
(compare(size_type, size_type, const basic_string&)): Ditto.
(compare(size_type, size_type, const basic_string&,size_type,
size_type)): Ditto.
(compare(size_type, size_type, const _CharT*)): Ditto.
(compare(size_type, size_type, const _CharT*, size_type)): Ditto.
From-SVN: r76274
Diffstat (limited to 'libjava/java/awt/Container.java')
0 files changed, 0 insertions, 0 deletions