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

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

#include <utils.hpp>

Inheritance diagram for flecs::dont_fragment< T, typename >:
[legend]

Detailed Description

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

Trait that marks a component as DontFragment at compile time.

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

Definition at line 178 of file utils.hpp.


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