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

Concept for messages with custom names. More...

#include <message.hpp>

Concept definition

template<typename T>
{ std::remove_cvref_t<T>::kName } -> std::convertible_to<std::string_view>;
}
Concept for any valid message type.
Definition message.hpp:55
Concept for messages with custom names.
Definition message.hpp:63

Detailed Description

Concept for messages with custom names.

A message with name trait must satisfy MessageTrait and provide:

  • static constexpr std::string_view kName variable

Definition at line 63 of file message.hpp.