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::is_enum<Type>

Description

Enable bitmask support for enum classes.

Template Parameters

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

Inheritance

Ancestors: std::is_enum< 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::is_enum<Type> {};





Add Discussion

Log in to comment