basic_string.h (replace(__pos, __n1, __s, __n2): Fix and tighten __throw_length_error check.
2002-04-26 Paolo Carlini <pcarlini@unitus.it> * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2): Fix and tighten __throw_length_error check. * testsuite/21_strings/replace.cc (test05): New. * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak. From-SVN: r52797
This commit is contained in:
parent
bde3c0c07d
commit
adf2e3e668
3 changed files with 26 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue