C++ Actor Framework 1.0.0
|
Wraps a value for either copying or moving it into a pre-allocated storage later. More...
#include <message_builder_element.hpp>
Inherited by caf::detail::message_builder_element_impl< T >.
Public Member Functions | |
message_builder_element (const message_builder_element &)=delete | |
message_builder_element & | operator= (const message_builder_element &)=delete |
virtual std::byte * | copy_init (std::byte *storage) const =0 |
Uses placement new to create a copy of the wrapped value at given memory region. | |
virtual std::byte * | move_init (std::byte *storage)=0 |
Uses placement new to move the wrapped value to given memory region. | |
Wraps a value for either copying or moving it into a pre-allocated storage later.
|
pure virtual |
Uses placement new to create a copy of the wrapped value at given memory region.
|
pure virtual |
Uses placement new to move the wrapped value to given memory region.