Helios Engine 0.1.0
A modular ECS based data-oriented C++23 game engine
 
Loading...
Searching...
No Matches
helios::ecs::ComponentTrait Concept Reference

Concept to check if a type can be used as a component. More...

#include <component.hpp>

Concept definition

template<typename T>
concept helios::ecs::ComponentTrait = std::is_object_v<std::remove_cvref_t<T>> && std::is_destructible_v<std::remove_cvref_t<T>>
Concept to check if a type can be used as a component.
Definition component.hpp:39

Detailed Description

Concept to check if a type can be used as a component.

Definition at line 39 of file component.hpp.