std::unique_ptr is a smart pointer that retains sole ownership of an object through a pointer.
How can I pass a std::unique_ptr into a function? Lets say I have the following class: class A { …
c++ c++11 unique-ptrHow do I implement a copy constructor for a class that has a unique_ptr member variable? I am only …
c++ c++11 unique-ptrWhat is the proper way to create an unique_ptr that holds an array that is allocated on the free …
c++ linux gcc c++11 unique-ptrIs this code correct? auto v = make_unique<int>(12); v.release(); // is this possible? Is it equivalent to …
c++ unique-ptrWhy is there no std::make_unique function template in the standard C++11 library? I find std::unique_ptr<…
c++ c++11 variadic-templates unique-ptr perfect-forwardingI have a function that needs to return a pointer to an object of class myClass. For this purpose I´…
c++ c++11 unique-ptrDoes C++11 standard library provide any utility to convert from a std::shared_ptr to std::unique_ptr, or vice …
c++ c++11 shared-ptr unique-ptrI'm trying to use a unique_ptr to derived class in a function that takes a unique_ptr to a …
c++ visual-studio-2012 c++11 unique-ptrWith the new standard coming (and parts already available in some compilers), the new type std::unique_ptr is supposed …
c++ c++11 smart-pointers auto-ptr unique-ptrI have a C++ object of type ObjectArray typedef map<int64_t, std::unique_ptr<Class1>> …
c++ pointers map stl unique-ptr