Function type_id

Synopsis

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

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

Description

No description yet.

Source

Lines 720-723 in include/flecs/cpp/component.hpp.

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