Another testsuite patch

Anthony Williams anthony_w.geo@yahoo.com
Tue Jun 6 07:38:00 GMT 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

testsuite/23_containers/bitset_ctor.cc: Qualify reverse with std::

Anthony

Index: bitset_ctor.cc
===================================================================
RCS file:
/cvs/gcc/egcs/libstdc++-v3/testsuite/23_containers/bitset_ctor.cc,v
retrieving revision 1.1
diff -u -p -r1.1 bitset_ctor.cc
- --- bitset_ctor.cc      2000/04/21 20:33:34     1.1
+++ bitset_ctor.cc      2000/06/06 14:26:20
@@ -65,7 +65,7 @@ bool test01(void)
     std::string str03;
     for (int i = 0; i < sz; ++i)
       str03 += (bit03.test(i) ? '1' : '0');
- -    reverse(str03.begin(), str03.end());
+    std::reverse(str03.begin(), str03.end());
     test &= str03 == str02;
   }
   catch(std::invalid_argument& fail) {

PGP Fingerprint: 
0E2D D32A 8732 DC31 804C  D435 9BF0 F8FE 1C1B 9AD5
PGP Key at: http://i3.yimg.com/3/c7e5ee24/g/68fc2307.asc

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 for non-commercial use < http://www.pgp.com >
Comment: PGP Key at: http://i3.yimg.com/3/c7e5ee24/g/68fc2307.asc

iQA/AwUBOT0J4Jvw+P4cG5rVEQLcgwCdGUISi0B2n7jkKLPOrlFUgt63ESAAnRTI
5YMrVNWCSLt7hHyl5F9yw9Yv
=zh8v
-----END PGP SIGNATURE-----



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


More information about the Libstdc++ mailing list