Defined in header <fkYAML/node.hpp>
fkyaml::basic_node::map_range, fkyaml::basic_node::const_map_range¶
using map_range = detail::map_range_proxy<basic_node>;
using const_map_range = detail::map_range_proxy<const basic_node>;
The helper types for the map_items() function which allow accessing the key() and value() functions provided by iterator and const_iterator in range-based for loops.
They provides minimal functions and operators which are required for range-based for loops.
Member Types¶
| Type | Definition |
|---|---|
iterator |
LegacyForwardIterator |
const_iterator |
constant LegacyForwardIterator |
Member Functions¶
| Name | Description |
|---|---|
| begin | Returns a (constant) iterator to the first element of mapping entries. |
| end | Returns a (constant) iterator to the past-the-last element of mapping entries. |