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:
parent
1aa4ccd428
commit
f1c9d505f9
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user