Template Class variant_map¶
Defined in File map_variant.h
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
template<typename ...Maps>
class variant_map¶ Public Types
-
using key_type = typename public_key<typename first_map::key_type>::type¶
-
using value_type = std::pair<const key_type, mapped_type>¶
Public Functions
-
inline variant_map()¶
-
inline std::pair<iterator, bool> insert(const value_type &value)¶
Public Members
-
variant_type map_¶
Public Static Functions
-
template<typename MapT>
static inline bool to_map_key(const key_type &key, typename MapT::key_type &out)¶
-
template<typename Pair>
static inline value_type to_value(const Pair &pair)¶
-
template<typename K>
struct is_char_array : public std::false_type¶
-
class iterator¶
Public Types
-
using value_type = variant_map::value_type¶
-
using difference_type = std::ptrdiff_t¶
-
using pointer = value_type*¶
-
using reference = value_type¶
-
using iterator_category = std::forward_iterator_tag¶
Public Functions
-
iterator() = default¶
-
inline explicit iterator(underlying_iterator_variant iterator_variant)¶
-
inline value_type operator*() const¶
-
inline value_type *operator->() const¶
Public Members
-
underlying_iterator_variant it_var¶
-
mutable std::unique_ptr<value_type> cached_value_ptr_¶
-
using value_type = variant_map::value_type¶
-
template<typename K>
struct public_key¶
-
using key_type = typename public_key<typename first_map::key_type>::type¶