View over a nested map structure, which provides iterators over the elements of the second-level map.
More...
template<class Nested_map_t, bool outer_is_map, bool inner_is_map>
class Denested_map_view< Nested_map_t, outer_is_map, inner_is_map >
View over a nested map structure, which provides iterators over the elements of the second-level map.
For example, a view over std::map<int, std::map<std::string, T>> provides iterators over the T objects.
- Template Parameters
-
Nested_map_t | The nested map type. |
outer_is_map | If true, the outer map is assumed to be a map, i.e., its iterators yield pairs that hold inner maps in their second components. Otherwise, it is assumed that iterators of the outer map provide inner maps directly. |
inner_is_map | If true, the inner maps are assumed to be maps, i.e., their iterators yield pairs and the view's iterator provides the second components. Otherwise, the view's iterator provides the values of the iterators of the inner maps directly. |