basic_string.tcc (rfind(_CharT, size_type)): Revert last change to use std::min:...
authorPaolo Carlini <pcarlini@suse.de>
Sat, 24 Jan 2004 16:52:04 +0000 (16:52 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 24 Jan 2004 16:52:04 +0000 (16:52 +0000)
commit04cc8aef6775d758dd8722d72ba373a52fb85beb
treee389a3805b4e04d9bcf8b0ee9c11d0cb22937cf6
parent7fcc1d9bafe7d8ee31f454879ac5c4b801ef7254
basic_string.tcc (rfind(_CharT, size_type)): Revert last change to use std::min: machine language is worse.

2004-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (rfind(_CharT, size_type)):
Revert last change to use std::min: machine language is worse.
(find_last_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(_CharT, size_type)): Ditto.

* include/bits/basic_string.tcc (insert(size_type, const _CharT*,
size_type)): Discard the value returned by _M_check.
(replace(size_type, size_type, const _CharT*, size_type)): 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: r76514
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.tcc