Lines Matching refs:T
29 template <typename T>
31 typedef std::allocator<T> allocator_type;
35 typedef T value_type;
41 …explicit InputIterator ( T * ptr ) : my_ptr(ptr), my_shared_epoch(new Epoch), my_current_epoch(0) … in InputIterator()
63 T& operator* () const {
104 T * my_ptr;
109 template <typename T>
111 T * my_ptr;
112 typedef std::allocator<T> allocator_type;
116 typedef T value_type;
122 explicit ForwardIterator ( T * ptr ) : my_ptr(ptr){} in ForwardIterator()
125 T& operator* () const { return *my_ptr; }
136 template <typename T>
138 T * my_ptr;
139 typedef std::allocator<T> allocator_type;
143 typedef T value_type;
149 explicit RandomIterator ( T * ptr ) : my_ptr(ptr){} in RandomIterator()
151 T& operator* () const { return *my_ptr; }
194 template <typename T>
196 const T * my_ptr;
197 typedef std::allocator<T> allocator_type;
201 typedef const T value_type;
207 explicit ConstRandomIterator ( const T * ptr ) : my_ptr(ptr){} in ConstRandomIterator()
209 const T& operator* () const { return *my_ptr; }