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

Synopsis

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

template<typename Key, typename Value, typename... Args>
struct meta_associative_container_traits<std::map<Key, Value, Args...>>
        : internal::container_traits<
            std::map<Key, Value, Args...>,
            internal::basic_container,
            internal::basic_associative_container,
            internal::basic_dynamic_container,
            internal::basic_dynamic_associative_container,
            internal::dynamic_associative_key_value_container
        >

Description

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

Template Parameters:

Key - The key type of elements.

Value - The value type of elements.

Args - Other arguments.

Inheritance

Ancestors: container_traits

Source

Lines 308-321 in src/entt/meta/container.hpp. Line 309 in src/entt/meta/container.hpp.

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





Add Discussion

Log in to comment