Function type_id

Synopsis

#include <include/flecs/addons/cpp/component.hpp>

template <typename T>
flecs::entity_t type_id()

Description

No description yet.

Source

Lines 632-635 in include/flecs/addons/cpp/component.hpp.

template <typename T>
flecs::entity_t type_id() {
    return _::cpp_type<T>::id();
}