Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
memory.h File Reference

Smart pointers used by Bond. More...

#include "bond/conf.h"
#include "bond/private/memory.h"

Detailed Description

Smart pointers used by Bond.

By default, unique_ptr is brought into the Bond namespace from the C++ standard library. It can be replaced by defining USER_BOND_MEMORY_HEADER. A replacement must declare a Bond::unique_ptr class template with the interface of std::unique_ptr, including support for custom deleters, which the handles of Bond::Allocator rely on.