Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
rtp::ecs::Component Concept Reference

Concept for valid ECS component types. More...

#include <ComponentConcept.hpp>

Concept definition

template<typename T>
concept rtp::ecs::Component = std::is_class_v<T> &&
std::move_constructible<T> &&
std::destructible<T>
Concept for valid ECS component types.

Detailed Description

Concept for valid ECS component types.

Template Parameters
TThe type to check

A type is a valid component if it is:

  • A class type
  • Move constructible
  • Destructible

Definition at line 60 of file ComponentConcept.hpp.