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
This commit is contained in:
Jason Merrill 1997-09-12 01:56:59 +00:00 committed by Jason Merrill
parent 85b71cf211
commit 2a32969dd4
2 changed files with 7 additions and 2 deletions

View 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.

View 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: