File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ public:
5858 typedef typename std::allocator_traits<Allocator>::pointer pointer;
5959 typedef typename std::allocator_traits<Allocator>::const_pointer const_pointer;
6060#endif
61- typedef T * iterator; // actual type is unspecified
62- typedef const T * const_iterator; // actual type is unspecified
61+ typedef value_type * iterator; // actual type is unspecified
62+ typedef const value_type * const_iterator; // actual type is unspecified
6363 typedef std::reverse_iterator<iterator> reverse_iterator;
6464 typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
6565
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ public:
5151 typedef typename std::allocator_traits<Allocator>::pointer pointer;
5252 typedef typename std::allocator_traits<Allocator>::const_pointer const_pointer;
5353#endif
54- typedef T * iterator; // actual type is unspecified
55- typedef const T * const_iterator; // actual type is unspecified
56- typedef T * local_iterator; // actual type is unspecified
57- typedef const T * const_local_iterator; // actual type is unspecified
54+ typedef value_type * iterator; // actual type is unspecified
55+ typedef const value_type * const_iterator; // actual type is unspecified
56+ typedef value_type * local_iterator; // actual type is unspecified
57+ typedef const value_type * const_local_iterator; // actual type is unspecified
5858
5959 // constructor
6060 // constructor
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ public:
4848 typedef typename std::allocator_traits<Allocator>::pointer pointer;
4949 typedef typename std::allocator_traits<Allocator>::const_pointer const_pointer;
5050#endif
51- typedef T * iterator; // actual type is unspecified
52- typedef const T * const_iterator; // actual type is unspecified
53- typedef T * local_iterator; // actual type is unspecified
54- typedef const T * const_local_iterator; // actual type is unspecified
51+ typedef value_type * iterator; // actual type is unspecified
52+ typedef const value_type * const_iterator; // actual type is unspecified
53+ typedef value_type * local_iterator; // actual type is unspecified
54+ typedef const value_type * const_local_iterator; // actual type is unspecified
5555
5656 // constructor
5757#if CPPREFERENCE_STDVER <2014
You can’t perform that action at this time.
0 commit comments