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

Concept for systems that declare all data access via parameter types. More...

#include <system.hpp>

Concept definition

template<typename T>
concept SystemWithNameTrait = SystemTrait<T> && requires {
{ std::remove_cvref_t<T>::kName } -> std::convertible_to<std::string_view>;
}
Concept for systems that declare all data access via parameter types.
Definition system.hpp:87
Concept for systems that declare all data access via parameter types.
Definition system.hpp:114

Detailed Description

Concept for systems that declare all data access via parameter types.

A system must be destructible, move or copy constructible, not polymorphic, an object type, and its operator() parameters must all have SystemParamTraits specialisations.

Definition at line 114 of file system.hpp.