36 #ifndef LIB_UNIQUE_MALLOC_OWNER_H 37 #define LIB_UNIQUE_MALLOC_OWNER_H 56 template<
class X =
void>
58 :
public std::unique_ptr<X, void(*)(void*)>
60 using _Parent = std::unique_ptr<X, void(*)(void*)>;
65 : _Parent(static_cast<X*>(memory), std::free)
70 : _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.