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

Concept for events with custom names. More...

#include <event.hpp>

Concept definition

template<typename T>
{ T::GetName() } -> std::same_as<std::string_view>;
}
Concept for valid event types.
Definition event.hpp:44
Concept for events with custom names.
Definition event.hpp:52

Detailed Description

Concept for events with custom names.

An event with name trait must satisfy EventTrait and provide:

  • static constexpr std::string_view GetName() noexcept

Definition at line 52 of file event.hpp.