stl_iterator.h: Make it possible to use standard class `iterator'.
authorGabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
Mon, 24 Jan 2000 11:25:23 +0000 (12:25 +0100)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Mon, 24 Jan 2000 11:25:23 +0000 (11:25 +0000)
2000-01-19  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * stl_iterator.h: Make it possible to use standard class
        `iterator'.

From-SVN: r31584

libstdc++/stl/ChangeLog
libstdc++/stl/stl_iterator.h

index c574129cb47496b7d53f59fc4f5cf081f0d89750..1c617afe92f18bf74a6503aaeaef5d9b86eb4ddb 100644 (file)
@@ -1,3 +1,8 @@
+2000-01-19  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
+
+       * stl_iterator.h: Make it possible to use standard class
+       `iterator'. 
+
 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
 
        * stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread
index e2bd7149692c05e3f3c5b36cd2707c26f07b4049..517bc5feda16e70f49541ab4d53b26634e5150ae 100644 (file)
@@ -85,7 +85,6 @@ template <class _Tp, class _Distance> struct random_access_iterator {
   typedef _Tp&                       reference;
 };
 
-#ifdef __STL_USE_NAMESPACES
 template <class _Category, class _Tp, class _Distance = ptrdiff_t,
           class _Pointer = _Tp*, class _Reference = _Tp&>
 struct iterator {
@@ -95,7 +94,6 @@ struct iterator {
   typedef _Pointer   pointer;
   typedef _Reference reference;
 };
-#endif /* __STL_USE_NAMESPACES */
 
 #ifdef __STL_CLASS_PARTIAL_SPECIALIZATION