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*)>;
Ownership token for a piece of heap memory allocated in plain-C style.
std::unique_ptr< X, void(*)(void *)> _Parent
UniqueMallocOwner(void *memory=nullptr)
UniqueMallocOwner(X *alloc)
Lumiera error handling (C++ interface).
Implementation namespace for support and library code.