vt::detail namespace

Functions

template<typename MsgT, typename... Args>
auto makeMessageImpl(Args && ... args) -> MsgT*
Create a bare message. Only the system should ever call this function.
template<typename MsgT, typename... Args>
auto makeMessageSzImpl(std::size_t size, Args && ... args) -> MsgT*
Create a bare message with defined size (used when extra bytes are requested). Only the system should ever call this function.

Function documentation

template<typename MsgT, typename... Args>
MsgT* vt::detail::makeMessageImpl(Args && ... args)

Create a bare message. Only the system should ever call this function.

Parameters
args in forwarded message arguments for constructor
Returns base message pointer

template<typename MsgT, typename... Args>
MsgT* vt::detail::makeMessageSzImpl(std::size_t size, Args && ... args)

Create a bare message with defined size (used when extra bytes are requested). Only the system should ever call this function.

Parameters
size in extra requested size at the end of message
args in forwarded message arguments for constructor
Returns bare message pointer with size extra bytes on the end