27 #ifndef LIB_UNIQUE_MALLOC_OWNER_H 28 #define LIB_UNIQUE_MALLOC_OWNER_H 47 template<
class X =
void>
49 :
public std::unique_ptr<X, void(*)(void*)>
51 using _Parent = std::unique_ptr<X, void(*)(void*)>;
56 : _Parent(static_cast<X*>(memory), std::free)
61 : _Parent(alloc, std::free)
Implementation namespace for support and library code.
Lumiera error handling (C++ interface).
Ownership token for a piece of heap memory allocated in plain-C style.