|
libbmb
Modern implementation of STL
|
contiguous iterator for Vector. Trivial iterator-wrapper for pointer to array(aka T*) More...
#include <vector_iterator.h>
Public Types | |
| using | value_type = remove_const_t< T > |
| using | reference = conditional_t< IsConst, const T, T > & |
| using | pointer = conditional_t< IsConst, const T, T > * |
| using | difference_type = ptrdiff_t |
| using | iterator_category = contiguous_iter_tag |
Public Member Functions | |
| BaseVectorIter () | |
| BaseVectorIter (pointer ptr) | |
| operator BaseVectorIter< T, true > () const | |
| pointer | operator-> () const |
| reference | operator* () const |
| Self & | operator++ () |
| Self | operator++ (int) |
| Self & | operator+= (difference_type n) |
| Self | operator+ (difference_type n) |
| Self & | operator-- () |
| Self | operator-- (int) |
| Self & | operator-= (difference_type n) |
| Self | operator- (difference_type n) |
| auto | operator<=> (const Self &other) const =default |
Friends | |
| Self | operator+ (difference_type n, const Self &it) |
| difference_type | operator- (const Self &lhs, const Self &rhs) |
contiguous iterator for Vector. Trivial iterator-wrapper for pointer to array(aka T*)
| using bmb::detail::BaseVectorIter< T, IsConst >::difference_type = ptrdiff_t |
| using bmb::detail::BaseVectorIter< T, IsConst >::iterator_category = contiguous_iter_tag |
| using bmb::detail::BaseVectorIter< T, IsConst >::pointer = conditional_t<IsConst, const T, T>* |
| using bmb::detail::BaseVectorIter< T, IsConst >::reference = conditional_t<IsConst, const T, T>& |
| using bmb::detail::BaseVectorIter< T, IsConst >::value_type = remove_const_t<T> |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |