unique_ptr

mail@pastecode.io avatar
unknown
plain_text
2 years ago
331 B
2
Indexable
Never
/*  Design and finish unique_ptr class implementation
 *  to fulfill basic functionality requirements:
 *  - unique ownership of resource
 *  - RAII - lifcycle of resource is bind to unique_ptr object liftime
 *  - move semantics
 *  - access to underlying resource
 */

template <typename T>
class unique_ptr
{
public:
private:
};