-
Notifications
You must be signed in to change notification settings - Fork 0
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 …
levongh/unique_ptr
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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 0
No packages published