summaryrefslogtreecommitdiffstats
path: root/libstdc++
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++')
-rw-r--r--libstdc++/stl/ChangeLog5
-rw-r--r--libstdc++/stl/stl_iterator.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog
index c574129cb47..1c617afe92f 100644
--- a/libstdc++/stl/ChangeLog
+++ b/libstdc++/stl/ChangeLog
@@ -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
diff --git a/libstdc++/stl/stl_iterator.h b/libstdc++/stl/stl_iterator.h
index e2bd7149692..517bc5feda1 100644
--- a/libstdc++/stl/stl_iterator.h
+++ b/libstdc++/stl/stl_iterator.h
@@ -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
OpenPOWER on IntegriCloud