Skip to content
Flecs v4.1
flecs::sparse< T, typename > Struct Template Reference

Trait that marks a component as Sparse at compile time. More...

#include <utils.hpp>

Detailed Description

template<typename T, typename = void>
struct flecs::sparse< T, typename >

Trait that marks a component as Sparse at compile time.

Enable by adding a static constexpr bool sparse = true member to the type, or by specializing the trait to derive from std::true_type.

Definition at line 187 of file utils.hpp.


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