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

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

#include <message.hpp>

Concept definition

template<typename T>
{
std::remove_cvref_t<T>::kClearPolicy
} -> std::convertible_to<MessageClearPolicy>;
}
Concept for any valid message type.
Definition message.hpp:55
Concept for messages with custom clear policy.
Definition message.hpp:74

Detailed Description

Concept for messages with custom clear policy.

A message with clear policy trait must satisfy MessageTrait and provide:

  • static constexpr MessageClearPolicy kClearPolicy variable

Definition at line 74 of file message.hpp.