koutil
|
Nested iterator class for multi_vector. More...
#include <multi_vector.h>
Public Types | |
using | value_type = std::conditional_t<is_const, const_value_ref_t, value_ref_t> |
using | const_value_type = const_value_ref_t |
using | reference = value_type |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::random_access_iterator_tag |
Private Types | |
using | vec_ptr_t = std::conditional_t<is_const, const multi_vector*, multi_vector*> |
Private Member Functions | |
iterator (vec_ptr_t vec, std::size_t index) | |
Private Attributes | |
vec_ptr_t | m_ref = nullptr |
std::size_t | m_index = 0 |
Friends | |
class | iterator< true > |
class | multi_vector |
Nested iterator class for multi_vector.
is_const | Whether the iterator is const. |
T | The types of elements stored in the multi_vector. |
is_const | Whether the iterator is const. |
using koutil::container::multi_vector< Types >::iterator< is_const >::const_value_type = const_value_ref_t |
using koutil::container::multi_vector< Types >::iterator< is_const >::difference_type = std::ptrdiff_t |
using koutil::container::multi_vector< Types >::iterator< is_const >::iterator_category = std::random_access_iterator_tag |
using koutil::container::multi_vector< Types >::iterator< is_const >::reference = value_type |
using koutil::container::multi_vector< Types >::iterator< is_const >::value_type = std::conditional_t<is_const, const_value_ref_t, value_ref_t> |
|
private |
|
default |
|
default |
|
default |
|
inlineprivate |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
private |