NiHu
2.0
|
iterator class provides access to its value_t after static cast More...
#include <casted_iterator.hpp>
Public Types | |
typedef casted_iterator | type |
self returning metafunction | |
typedef FromIt::difference_type | difference_type |
typedef To | value_type |
the new value type | |
typedef To | value_t |
Public Member Functions | |
const FromIt & | base () const |
FromIt & | base () |
casted_iterator (FromIt const &base=FromIt()) | |
(copy) constructor from base iterator More... | |
bool | operator!= (casted_iterator const &other) const |
bool | operator== (casted_iterator const &other) const |
casted_iterator | operator+ (difference_type offset) const |
casted_iterator | operator- (difference_type offset) const |
difference_type | operator- (casted_iterator const &other) const |
casted_iterator & | operator++ () |
casted_iterator | operator++ (int) |
const value_t & | operator* (void) const |
dereference operator converts dereferenced element to casted type More... | |
const value_t & | operator[] (size_t idx) const |
index operator converts indexed element to casted type More... | |
const value_t * | operator-> (void) const |
dereference operator converts dereferenced element to casted type More... | |
iterator class provides access to its value_t after static cast
FromIt | the original iterator type |
To | the new value type |
Through | an intermediate value type if needed for static cast |
Definition at line 37 of file casted_iterator.hpp.
|
inline |
(copy) constructor from base iterator
[in] | base | base iterator |
Definition at line 64 of file casted_iterator.hpp.
|
inline |
dereference operator converts dereferenced element to casted type
Definition at line 108 of file casted_iterator.hpp.
|
inline |
dereference operator converts dereferenced element to casted type
Definition at line 128 of file casted_iterator.hpp.
|
inline |
index operator converts indexed element to casted type
Definition at line 118 of file casted_iterator.hpp.