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
This commit is contained in:
Gabriel Dos Reis 2000-01-24 12:25:23 +01:00 committed by Gabriel Dos Reis
parent 1aa4ccd428
commit f1c9d505f9
2 changed files with 5 additions and 2 deletions

View 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

View 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