BRICKS
Small, useful blocks of code, to build bigger things.
Loading...
Searching...
No Matches
handle.hpp File Reference
#include <memory>
Include dependency graph for handle.hpp:

Go to the source code of this file.

Classes

struct  bricks::deleter< T, fn >
 A deleter is a function that deletes a pointer. More...
 

Namespaces

namespace  bricks
 

Typedefs

template<typename T , auto fn>
using bricks::handle = std::unique_ptr<T, deleter<T, fn>>
 A handle is a unique_ptr with a custom deleter.