replace.cc (test01): Qualify find with std::.
2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net> * testsuite/21_strings/replace.cc (test01): Qualify find with std::. From-SVN: r34363
This commit is contained in:
parent
0c031c5cb9
commit
3ce7458060
@ -1,3 +1,7 @@
|
|||||||
|
2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
|
||||||
|
|
||||||
|
* testsuite/21_strings/replace.cc (test01): Qualify find with std::.
|
||||||
|
|
||||||
2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
|
2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
|
||||||
|
|
||||||
* bits/std_cwctype.h: Clean.
|
* bits/std_cwctype.h: Clean.
|
||||||
|
@ -73,8 +73,8 @@ bool test01(void)
|
|||||||
test &= x == "jello";
|
test &= x == "jello";
|
||||||
|
|
||||||
int ar[] = { 'H', 'e', 'l', 'l', 'o' };
|
int ar[] = { 'H', 'e', 'l', 'l', 'o' };
|
||||||
x.replace(find(x.begin(), x.end(), 'l'),
|
x.replace(std::find(x.begin(), x.end(), 'l'),
|
||||||
find(x.rbegin(), x.rend(), 'l').base(), ar,
|
std::find(x.rbegin(), x.rend(), 'l').base(), ar,
|
||||||
ar + sizeof(ar) / sizeof(ar[0]));
|
ar + sizeof(ar) / sizeof(ar[0]));
|
||||||
test &= x == "jeHelloo";
|
test &= x == "jeHelloo";
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user