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

Test if a component is sparse at compile time. More...

#include <pair.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

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

Test if a component is sparse at compile time.

Components with the DontFragment trait are always sparse.

Definition at line 193 of file pair.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool flecs::_::is_sparse_component< T >::value
staticconstexpr
Initial value:
=
dont_fragment<std::remove_cv_t<T>>::value
Trait that marks a component as Sparse at compile time.
Definition utils.hpp:187

Definition at line 194 of file pair.hpp.


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