48template <
typename Allocator = standard_allocator>
56#ifndef MSGPACK_LIGHT_DOCUMENTATION
90 std::memset(&other.data_, 0,
sizeof(other.data_));
100 if (
this == &other) {
124 void swap(
object& other)
noexcept {
Definition of allocator_wrapper class.
Definition of classes of iterators of arrays.
Implementation of classes of iterators of arrays.
Definition of classes of references to arrays.
Implementation of classes of references to arrays.
Class to wrap allocators.
Base class of non-constant objects in MessagePack.
details::allocator_wrapper< Allocator > allocator_
Allocator.
details::object_data & data() noexcept
Get the internal data.
object(allocator_type allocator=allocator_type())
Constructor.
object & operator=(const object &other)
Copy assignment operator.
const details::object_data & data() const noexcept
Get the internal data.
details::mutable_object_base< object< Allocator >, Allocator > base_type
Type of the base class.
object(const object &other)
Copy constructor.
details::allocator_wrapper< Allocator > & allocator() noexcept
Get the allocator.
object(object &&other) noexcept
Move constructor.
details::object_data data_
Data.
object & operator=(object &&other) noexcept
Move assignment operator.
void swap(object &other) noexcept
Swap this instance with another instance.
Definition of classes of references to extension values.
Definition of classes of iterators of maps.
Definition of classes of iterators of maps.
Definition of classes of references to maps.
Implementation of classes of references of maps.
void copy_object_data(object_data &to, const object_data &from, allocator_wrapper< Allocator > &allocator)
Copy data.
Namespace of this project.
void swap(msgpack_light::details::basic_binary_buffer &instance1, msgpack_light::details::basic_binary_buffer &instance2) noexcept
Implementation of std::swap for msgpack_light::details::basic_binary_buffer.
Definition of base classes of objects.
Definition of object_data struct.
Definition of helper functions for implementation of object class.
Definition of classes of references to objects.
Declaration of classes of references to objects.
Definition of standard_allocator class.
Struct of data of objects in MessagePack.