Skip to content

The class template unique_ptr<T> manages a pointer to an object of type T. You will usually construct an object of this type by calling new to create an object in the unique_ptr constructor. After calling the constructor, you can use the object very much like a raw pointer. The * and -> operators work exactly like you would expect, and are very …

Notifications You must be signed in to change notification settings

levongh/unique_ptr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

class unique_pre are designed as standart unique_ptr
but I have not write constructor with std::auto_ptr becaue auto_ptr now is depricated
tests I have copyed from below mantioned link just for testing all constructors
http://ru.cppreference.com/w/cpp/memory/unique_ptr/unique_ptr

About

The class template unique_ptr<T> manages a pointer to an object of type T. You will usually construct an object of this type by calling new to create an object in the unique_ptr constructor. After calling the constructor, you can use the object very much like a raw pointer. The * and -> operators work exactly like you would expect, and are very …

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages