HandleToManager Struct Template
Maps a handle type to the index of its owning EntityManager in a parameter pack. More...
Declaration
template <typename THandle, typename... TEntityManagers>
struct HandleToManager<THandle, TEntityManagers> { ... }
Description
Maps a handle type to the index of its owning EntityManager in a parameter pack.
Recursively walks the `TEntityManagers...` pack and returns the zero-based index of the first manager whose `Handle_type` matches `THandle`. A `static_assert` fires if no match is found.
- Template Parameters
-
THandle The handle type to look up.
TEntityManagers The EntityManager types to search.
Definition at line 32 of file TypedHandleWorld.ixx.
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.