5namespace Grindstone::Memory::SmartPointers {
12 UniquePtr(T* ptr, std::function<
void(
void*)> deleteFn) : ptr(ptr), deleteFn(deleteFn) {}
39 std::function<void(
void*)> deleteFn;
42 template<
typename T,
typename... Args>
44 return new T(std::forward<Args>(params)...);
Definition UniquePtr.hpp:7