Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::_::is_get_sparse_component< T > Struct Template Reference

Test if get/get_mut for a component can use ecs_get_sparse_id(). More...

#include <pair.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
struct flecs::_::is_get_sparse_component< T >

Test if get/get_mut for a component can use ecs_get_sparse_id().

Definition at line 201 of file pair.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool flecs::_::is_get_sparse_component< T >::value
staticconstexpr
Initial value:
= is_sparse_component<T>::value &&
on_instantiate_trait<std::remove_cv_t<T>>::value !=
flecs::on_instantiate::inherit

Definition at line 202 of file pair.hpp.


The documentation for this struct was generated from the following file: