Random-access iterator with non-const access. More...
Public Types | |
using | iterator_category = std::random_access_iterator_tag |
using | value_type = T |
using | difference_type = label |
using | pointer = T * |
using | reference = T & |
Public Member Functions | |
iterator (T **ptr) noexcept | |
Construct for a given entry. More... | |
pointer | get () const |
Return pointer, can be nullptr. More... | |
pointer | operator-> () const |
reference | operator* () const |
reference | operator() () const |
reference | operator[] (difference_type n) const |
iterator & | operator++ () noexcept |
iterator | operator++ (int) noexcept |
iterator & | operator-- () noexcept |
iterator | operator-- (int) noexcept |
iterator & | operator+= (difference_type n) noexcept |
iterator & | operator-= (difference_type n) noexcept |
iterator | operator+ (difference_type n) const noexcept |
iterator | operator- (difference_type n) const noexcept |
difference_type | operator- (const iterator &iter) const noexcept |
bool | operator== (const iterator &iter) const noexcept |
bool | operator!= (const iterator &iter) const noexcept |
bool | operator< (const iterator &iter) const noexcept |
bool | operator> (const iterator &iter) const noexcept |
bool | operator<= (const iterator &iter) const noexcept |
bool | operator>= (const iterator &iter) const noexcept |
Friends | |
class | const_iterator |
Random-access iterator with non-const access.
Definition at line 241 of file UPtrList.H.
using iterator_category = std::random_access_iterator_tag |
Definition at line 248 of file UPtrList.H.
using value_type = T |
Definition at line 249 of file UPtrList.H.
using difference_type = label |
Definition at line 250 of file UPtrList.H.
Definition at line 251 of file UPtrList.H.
Definition at line 252 of file UPtrList.H.
Construct for a given entry.
Definition at line 258 of file UPtrListI.H.
|
inline |
Return pointer, can be nullptr.
Definition at line 265 of file UPtrListI.H.
Definition at line 272 of file UPtrListI.H.
Definition at line 279 of file UPtrListI.H.
Referenced by UPtrList< T >::iterator::operator()(), and UPtrList< T >::const_iterator::operator()().
Definition at line 268 of file UPtrList.H.
References UPtrList< T >::iterator::operator*().
|
inline |
Definition at line 286 of file UPtrListI.H.
References n.
|
inlinenoexcept |
Definition at line 293 of file UPtrListI.H.
|
inlinenoexcept |
Definition at line 302 of file UPtrListI.H.
|
inlinenoexcept |
Definition at line 312 of file UPtrListI.H.
|
inlinenoexcept |
Definition at line 321 of file UPtrListI.H.
|
inlinenoexcept |
Definition at line 331 of file UPtrListI.H.
References n.
|
inlinenoexcept |
Definition at line 340 of file UPtrListI.H.
References n.
|
inlinenoexcept |
Definition at line 349 of file UPtrListI.H.
References n.
|
inlinenoexcept |
Definition at line 357 of file UPtrListI.H.
References n.
Definition at line 366 of file UPtrListI.H.
Definition at line 374 of file UPtrListI.H.
Definition at line 382 of file UPtrListI.H.
Definition at line 390 of file UPtrListI.H.
Definition at line 398 of file UPtrListI.H.
Definition at line 406 of file UPtrListI.H.
Definition at line 414 of file UPtrListI.H.
|
friend |
Definition at line 253 of file UPtrList.H.