cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
Loading...
Searching...
No Matches
monotonic_allocator.h File Reference

Definition of monotonic_allocator class. More...

#include <algorithm>
#include <cassert>
#include <cstdlib>
#include <memory>
#include <new>
#include <utility>
Include dependency graph for monotonic_allocator.h:

Go to the source code of this file.

Classes

class  msgpack_light::monotonic_allocator
 Class of an allocator which releases memory only when the allocator is destroyed. More...

Namespaces

namespace  msgpack_light
 Namespace of this project.

Functions

void msgpack_light::swap (msgpack_light::monotonic_allocator &instance1, msgpack_light::monotonic_allocator &instance2) noexcept
 Swap two instances.

Detailed Description

Definition of monotonic_allocator class.

Definition in file monotonic_allocator.h.