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 39890052f5f5f57f301c2467c938b58cd5f13130..8cdbc08d9404acac29f4a17b13cead01d6d138df 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 5ca371ed6a62d16d2de3c6ca228eb8912c2c4edf..9070a2e857d91b90f2e28b79bc735a5b86f4192b 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: