summaryrefslogtreecommitdiff
path: root/libstdc++
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1997-09-12 01:56:59 +0000
committerJason Merrill <jason@gcc.gnu.org>1997-09-11 21:56:59 -0400
commit2a32969dd44ff7af5b911a9db5edde3066d1c53a (patch)
treee683f4474a0f50bc040debdcdecd388af363827d /libstdc++
parent85b71cf211b1ba45602a7aa210570173387f46bc (diff)
downloadgcc-2a32969dd44ff7af5b911a9db5edde3066d1c53a.tar.gz
bastring.h (class basic_string): Add global scope to use of reverse_iterator.
* std/bastring.h (class basic_string): Add global scope to use of reverse_iterator. From-SVN: r15423
Diffstat (limited to 'libstdc++')
-rw-r--r--libstdc++/ChangeLog5
-rw-r--r--libstdc++/std/bastring.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog
index 39890052f5f..8cdbc08d940 100644
--- a/libstdc++/ChangeLog
+++ b/libstdc++/ChangeLog
@@ -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.
diff --git a/libstdc++/std/bastring.h b/libstdc++/std/bastring.h
index 5ca371ed6a6..9070a2e857d 100644
--- a/libstdc++/std/bastring.h
+++ b/libstdc++/std/bastring.h
@@ -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: