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

Concept for events with custom clear policy. More...

#include <event.hpp>

Concept definition

template<typename T>
{ T::GetClearPolicy() } -> std::same_as<EventClearPolicy>;
}
Concept for valid event types.
Definition event.hpp:44
Concept for events with custom clear policy.
Definition event.hpp:62

Detailed Description

Concept for events with custom clear policy.

An event with clear policy trait must satisfy EventTrait and provide:

  • static constexpr EventClearPolicy GetClearPolicy() noexcept

Definition at line 62 of file event.hpp.