6#include "definitions.hpp"
10#include <initializer_list>
15namespace rotor_light {
42template <
size_t... Items>
44 [] {
return std::max(std::initializer_list<size_t>{Items...}); };
52 static constexpr size_t item_size = max<
sizeof(Ts)...>();
58 using Item = std::aligned_storage_t<item_size, item_alignment>;
base interface and implementation for all actors, including supervisors
Definition: actor.hpp:19
base class for all rotor-light messages
Definition: message.hpp:22
MessageTypeId type
Definition: message.hpp:32
Message(ActorId to_)
Definition: message.hpp:26
base interface and implementation for all supervisors
Definition: supervisor.hpp:29
properly allocated & sized space for any user-defined message type
Definition: message.hpp:50
static constexpr size_t item_size
Definition: message.hpp:52
static constexpr size_t item_alignment
Definition: message.hpp:55
std::aligned_storage_t< item_size, item_alignment > Item
Definition: message.hpp:58