Utility class that provides an iterator for a container of containers, e.g., map of vectors This is an experimental implementation and only support forward iterator for now. More...
#include </home/runner/work/metall/metall/include/metall/utility/container_of_containers_iterator_adaptor.hpp>
Public Types | |
using | difference_type = typename std::iterator_traits< inner_iterator_type >::difference_type |
using | value_type = typename std::iterator_traits< inner_iterator_type >::value_type |
using | pointer = typename std::iterator_traits< inner_iterator_type >::pointer |
using | reference = typename std::iterator_traits< inner_iterator_type >::reference |
using | iterator_category = std::forward_iterator_tag |
Public Member Functions | |
container_of_containers_iterator_adaptor (outer_iterator_type outer_begin, outer_iterator_type outer_end) | |
container_of_containers_iterator_adaptor (outer_iterator_type outer_begin, inner_iterator_type inner_iterator, outer_iterator_type outer_end) | |
reference | operator++ () |
container_of_containers_iterator_adaptor | operator++ (int) |
pointer | operator-> () |
reference | operator* () |
bool | equal (const container_of_containers_iterator_adaptor &other) const |
Utility class that provides an iterator for a container of containers, e.g., map of vectors This is an experimental implementation and only support forward iterator for now.
outer_iterator_type | An outer iterator class |
inner_iterator_type | An inner iterator class |
using metall::utility::container_of_containers_iterator_adaptor< outer_iterator_type, inner_iterator_type >::difference_type = typename std::iterator_traits<inner_iterator_type>::difference_type |
using metall::utility::container_of_containers_iterator_adaptor< outer_iterator_type, inner_iterator_type >::value_type = typename std::iterator_traits<inner_iterator_type>::value_type |
using metall::utility::container_of_containers_iterator_adaptor< outer_iterator_type, inner_iterator_type >::pointer = typename std::iterator_traits<inner_iterator_type>::pointer |
using metall::utility::container_of_containers_iterator_adaptor< outer_iterator_type, inner_iterator_type >::reference = typename std::iterator_traits<inner_iterator_type>::reference |
using metall::utility::container_of_containers_iterator_adaptor< outer_iterator_type, inner_iterator_type >::iterator_category = std::forward_iterator_tag |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |