Skip to content
Flecs v4.1
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>
bool flecs::_::is_get_sparse_component< T >::value
staticconstexpr
Initial value:
= is_sparse_component<T>::value &&
flecs::on_instantiate::inherit
Trait that assigns an OnInstantiate policy to a component at compile time.
Definition utils.hpp:204

Definition at line 202 of file pair.hpp.


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