Struct entt_traits< Type, std::enable_if_t< std::is_enum_v< Type > > >

Synopsis

#include <src/entt/entity/entity.hpp>

template<typename Type>
struct entt_traits<Type, std::enable_if_t<std::is_enum_v<Type>>>
        : entt_traits<std::underlying_type_t<Type>>

Description

Entity traits for enumeration types.

Template Parameters:

Type - The type to check.

Inheritance

Ancestors: entt_traits

Source

Lines 28-31 in src/entt/entity/entity.hpp.

template<typename Type>
struct entt_traits<Type, std::enable_if_t<std::is_enum_v<Type>>>
        : entt_traits<std::underlying_type_t<Type>>
{};





Add Discussion

Log in to comment