template class seams::detail::HandleΒΆ

#include <include/seams.hpp>
 
template <class T, void(*)(T*) Destroy>
class Handle {
public:
    // construction
 
    Handle();
    Handle(T* ptr);
    Handle(const Handle&);
    Handle(Handle&& other);
    ~Handle();
 
    // methods
 
    Handle& operator=(const Handle&);
    Handle& operator=(Handle&& other);
    operator bool() const;
};