Vector< Element >::Iterator< is_const > Class Template Reference
#include <WVector.h>
Inheritance diagram for Vector< Element >::Iterator< is_const >:
Collaboration diagram for Vector< Element >::Iterator< is_const >:
Public Types | |
using | V = typename std::conditional< is_const, const Vector, Vector >::type |
using | E = typename std::conditional< is_const, const Element, Element >::type |
Public Member Functions | |
Iterator (const Iterator &)=default | |
Iterator (V &vector, unsigned index) | |
Iterator & | operator++ () |
Iterator | operator++ (int) |
Iterator | operator+= (size_t distance) |
bool | operator== (const Iterator &rhs) const |
bool | operator!= (const Iterator &rhs) const |
Element & | operator* () |
E & | operator* () const |
Member Typedef Documentation
◆ E
template<typename Element>
template<bool is_const>
using Vector< Element >::Iterator< is_const >::E = typename std::conditional<is_const, const Element, Element>::type |
◆ V
template<typename Element>
template<bool is_const>
using Vector< Element >::Iterator< is_const >::V = typename std::conditional<is_const, const Vector, Vector>::type |
Constructor & Destructor Documentation
◆ Iterator() [1/2]
template<typename Element>
template<bool is_const>
|
default |
◆ Iterator() [2/2]
template<typename Element>
template<bool is_const>
|
inline |
Member Function Documentation
◆ operator!=()
template<typename Element>
template<bool is_const>
|
inline |
◆ operator*() [1/2]
template<typename Element>
template<bool is_const>
|
inline |
◆ operator*() [2/2]
template<typename Element>
template<bool is_const>
|
inline |
◆ operator++() [1/2]
template<typename Element>
template<bool is_const>
|
inline |
◆ operator++() [2/2]
template<typename Element>
template<bool is_const>
|
inline |
◆ operator+=()
template<typename Element>
template<bool is_const>
|
inline |
◆ operator==()
template<typename Element>
template<bool is_const>
|
inline |
The documentation for this class was generated from the following file: