Struct meta_associative_container_traits< std::unordered_map< Key, Value, Args... > >

Synopsis

#include <src/entt/meta/container.hpp>

template<typename Key, typename Value, typename... Args>
struct meta_associative_container_traits<std::unordered_map<Key, Value, Args...>>
        : meta_container_traits<
              std::unordered_map<Key, Value, Args...>,
              basic_container,
              basic_associative_container,
              basic_dynamic_container,
              basic_dynamic_associative_container,
              dynamic_associative_key_value_container
          >

Description

Meta associative container traits for std::unordered_maps of any type.

Template Parameters

Key - The key type of elements.

Value - The value type of elements.

Args - Other arguments.

Inheritance

Ancestors: meta_container_traits

Source

Lines 365-378 in src/entt/meta/container.hpp. Line 366 in src/entt/meta/container.hpp.

template<typename Key, typename Value, typename... Args>
struct meta_associative_container_traits<std::unordered_map<Key, Value, Args...>>
        : meta_container_traits<
              std::unordered_map<Key, Value, Args...>,
              basic_container,
              basic_associative_container,
              basic_dynamic_container,
              basic_dynamic_associative_container,
              dynamic_associative_key_value_container
          >
{
    /*! @brief Mapped type of the sequence container. */
    using mapped_type = typename std::unordered_map<Key, Value, Args...>::mapped_type;
};





Add Discussion

Log in to comment