unique_ptr
unknown
plain_text
3 years ago
331 B
7
Indexable
/* 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:
};Editor is loading...