bastring.h (class basic_string): Add global scope to use of reverse_iterator.
authorJason Merrill <jason@yorick.cygnus.com>
Fri, 12 Sep 1997 01:56:59 +0000 (01:56 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 12 Sep 1997 01:56:59 +0000 (21:56 -0400)
* std/bastring.h (class basic_string): Add global scope to
use of reverse_iterator.

From-SVN: r15423

libstdc++/ChangeLog
libstdc++/std/bastring.h

index 3989005..8cdbc08 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 11 15:03:20 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * std/bastring.h (class basic_string): Add global scope to
+       use of reverse_iterator.
+
 Tue Sep  9 19:47:07 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
        * std/bastring.h: Adjust use of reverse_iterator template.
index 5ca371e..9070a2e 100644 (file)
@@ -110,8 +110,8 @@ public:
   typedef const charT* const_pointer;
   typedef pointer iterator;
   typedef const_pointer const_iterator;
-  typedef reverse_iterator<iterator> reverse_iterator;
-  typedef reverse_iterator<const_iterator> const_reverse_iterator;
+  typedef ::reverse_iterator<iterator> reverse_iterator;
+  typedef ::reverse_iterator<const_iterator> const_reverse_iterator;
   static const size_type npos = static_cast<size_type>(-1);
 
 private: