Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::_::to_constant< E, Value > Struct Template Reference

Static Public Attributes

static constexpr E value = static_cast<E>(Value)

Detailed Description

template<typename E, underlying_type_t< E > Value>
struct flecs::_::to_constant< E, Value >

Definition at line 48 of file enum.hpp.

Member Data Documentation

◆ value

template<typename E, underlying_type_t< E > Value>
E flecs::_::to_constant< E, Value >::value = static_cast<E>(Value)
staticconstexpr

Definition at line 49 of file enum.hpp.


The documentation for this struct was generated from the following file:
  • include/flecs/addons/cpp/utils/enum.hpp