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

Concept for valid async message types. More...

#include <message.hpp>

Concept definition

template<typename T>
std::destructible<T> && std::default_initializable<T> &&
std::move_constructible<T> && std::is_object_v<std::remove_cvref_t<T>> &&
requires { requires std::remove_cvref_t<T>::kAsync; }
Concept for valid async message types.
Definition message.hpp:44

Detailed Description

Concept for valid async message types.

An async message trait must be destructible, default initializable, move constructible and be an object and have a static constexpr bool kAsync variable set to true.

Definition at line 44 of file message.hpp.