properly allocated & sized space for any user-defined message type More...
#include <message.hpp>
Public Types | |
using | Item = std::aligned_storage_t< item_size, item_alignment > |
Static Public Attributes | |
static constexpr size_t | item_size = max<sizeof(Ts)...>() |
static constexpr size_t | item_alignment = max<alignof(Ts)...>() |
properly allocated & sized space for any user-defined message type
using rotor_light::traits::MessageStorage< Ts >::Item = std::aligned_storage_t<item_size, item_alignment> |
aliases aligned_storage to store max size and max alignment
|
staticconstexpr |
calculates maximum alignment of all messages
|
staticconstexpr |
calculates maximum size of all messages