Commit f1c9d505 by Gabriel Dos Reis Committed by Gabriel Dos Reis

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

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
parent 1aa4ccd4
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> 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread * stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread
......
...@@ -85,7 +85,6 @@ template <class _Tp, class _Distance> struct random_access_iterator { ...@@ -85,7 +85,6 @@ template <class _Tp, class _Distance> struct random_access_iterator {
typedef _Tp& reference; typedef _Tp& reference;
}; };
#ifdef __STL_USE_NAMESPACES
template <class _Category, class _Tp, class _Distance = ptrdiff_t, template <class _Category, class _Tp, class _Distance = ptrdiff_t,
class _Pointer = _Tp*, class _Reference = _Tp&> class _Pointer = _Tp*, class _Reference = _Tp&>
struct iterator { struct iterator {
...@@ -95,7 +94,6 @@ struct iterator { ...@@ -95,7 +94,6 @@ struct iterator {
typedef _Pointer pointer; typedef _Pointer pointer;
typedef _Reference reference; typedef _Reference reference;
}; };
#endif /* __STL_USE_NAMESPACES */
#ifdef __STL_CLASS_PARTIAL_SPECIALIZATION #ifdef __STL_CLASS_PARTIAL_SPECIALIZATION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment