Function entity

Synopsis

#include <include/flecs/addons/cpp/utils/enum.hpp>

flecs::entity_t entity(E value) const

Description

No description yet.

Source

Lines 136-138 in include/flecs/addons/cpp/utils/enum.hpp.

flecs::entity_t entity(E value) const {
    return data.constants[static_cast<int>(value)].id;
}