cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
|
Class of standard allocators to allocate and deallocate memory. More...
#include <msgpack_light/standard_allocator.h>
Public Member Functions | |
void * | allocate (std::size_t size, std::size_t) |
Allocate memory. | |
void | deallocate (void *ptr) noexcept |
Deallocate memory. |
Class of standard allocators to allocate and deallocate memory.
Definition at line 31 of file standard_allocator.h.
|
inlinenodiscard |
Allocate memory.
[in] | size | Number of bytes to allocate. |
Definition at line 39 of file standard_allocator.h.
|
inlinenoexcept |
Deallocate memory.
[in] | ptr | Pointer to the deallocated memory. |
Definition at line 56 of file standard_allocator.h.