Struct enum_as_bitmask< Type, std::void_t< decltype(Type::_entt_enum_as_bitmask)> >

Synopsis

#include <src/entt/core/enum.hpp>

template<typename Type>
struct enum_as_bitmask<Type, std::void_t<decltype(Type::_entt_enum_as_bitmask)>>: std::true_type

Description

Enable bitmask support for enum classes.

Template Parameters

Type - The enum type for which to enable bitmask support.

Inheritance

Ancestors: true_type

Source

Lines 17-18 in src/entt/core/enum.hpp.

template<typename Type>
struct enum_as_bitmask<Type, std::void_t<decltype(Type::_entt_enum_as_bitmask)>>: std::true_type {};





Add Discussion

Log in to comment