bn_memory.h file

Contents

bn::unique_ptr and memory functions header file.

Namespaces

namespace bn
Main Butano namespace.
namespace bn::memory
Memory related functions.

Classes

template<typename Type>
struct bn::default_delete
Default deleter.
template<typename Type, typename Deleter = default_delete<Type>>
class bn::unique_ptr
std::shared_ptr like smart pointer that owns and manages another object through a pointer and disposes of that object when the unique_ptr goes out of scope.
template<typename Type, typename Deleter>
struct bn::hash<unique_ptr<Type, Deleter>>
Hash support for unique_ptr.