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

Concept for stages that provide a name. More...

#include <stage.hpp>

Concept definition

template<typename T>
concept StageWithNameTrait = StageTrait<T> && requires {
{ std::remove_cvref_t<T>::kName } -> std::convertible_to<std::string_view>;
}
Concept for stages.
Definition stage.hpp:22
Concept for stages that provide a name.
Definition stage.hpp:31

Detailed Description

Concept for stages that provide a name.

A stage with name trait must satisfy StageTrait and provide:

  • static constexpr std::string_view kName variable

Definition at line 31 of file stage.hpp.