Gang Of Coders
Home
About Us
Contact Us
All Unique Ptr Solutions on Gang of Coders
Total of 46 Unique Ptr Solutions
How do I pass a unique_ptr argument to a constructor or a function?
C++
Arguments
C++11
Unique Ptr
Returning unique_ptr from functions
C++
C++11
Unique Ptr
Differences between unique_ptr and shared_ptr
C++
Pointers
C++11
Shared Ptr
Unique Ptr
Is there any use for unique_ptr with array?
C++
C++11
Smart Pointers
Unique Ptr
Is std::unique_ptr<T> required to know the full definition of T?
C++
Visual Studio-2010
C++11
Stl
Unique Ptr
Why can I not push_back a unique_ptr into a vector?
C++
Stl
C++11
Smart Pointers
Unique Ptr
std::unique_ptr with an incomplete type won't compile
C++
Unique Ptr
Incomplete Type
Libc++
make_unique and perfect forwarding
C++
C++11
Variadic Templates
Unique Ptr
Perfect Forwarding
std::auto_ptr to std::unique_ptr
C++
C++11
Smart Pointers
Auto Ptr
Unique Ptr
Using smart pointers for class members
C++
C++11
Shared Ptr
Smart Pointers
Unique Ptr
Differences between std::make_unique and std::unique_ptr with new
C++
C++11
C++14
Smart Pointers
Unique Ptr
How do I use a custom deleter with a std::unique_ptr member?
C++
C++11
Move Semantics
Unique Ptr
Advantages of using std::make_unique over new operator
C++
C++14
Unique Ptr
How can I pass std::unique_ptr into a function
C++
C++11
Unique Ptr
Copy constructor for a class with unique_ptr
C++
C++11
Unique Ptr
How to declare std::unique_ptr and what is the use of it?
C++
Pointers
Std
Unique Ptr
Does C++11 unique_ptr and shared_ptr able to convert to each other's type?
C++
C++11
Shared Ptr
Unique Ptr
Why is shared_ptr<void> legal, while unique_ptr<void> is ill-formed?
C++
Shared Ptr
Smart Pointers
Unique Ptr
error::make_unique is not a member of ‘std’
C++
C++11
Compiler Errors
C++14
Unique Ptr
Why use std::make_unique in C++17?
C++
C++17
Unique Ptr
Does unique_ptr::release() call the destructor?
C++
Unique Ptr
Why can a T* be passed in register, but a unique_ptr<T> cannot?
C++
Assembly
Unique Ptr
Calling Convention
Abi
How to pass std::unique_ptr around?
C++
C++11
Unique Ptr
unique_ptr to a derived class as an argument to a function that takes a unique_ptr to a base class
C++
Visual Studio-2012
C++11
Unique Ptr
Forward declaration with unique_ptr?
C++
Destructor
Forward Declaration
Unique Ptr
Proper way to create unique_ptr that holds an allocated array
C++
Linux
Gcc
C++11
Unique Ptr
Is auto_ptr deprecated?
C++
Standards
Smart Pointers
Auto Ptr
Unique Ptr
Is unique_ptr guaranteed to store nullptr after move?
C++
C++11
Move Semantics
Unique Ptr
Should I assign or reset a unique_ptr?
C++
C++11
Smart Pointers
Unique Ptr
Why does unique_ptr take two template parameters when shared_ptr only takes one?
C++
C++11
Std
Shared Ptr
Unique Ptr
Why can't a weak_ptr be constructed from a unique_ptr?
C++
Shared Ptr
Smart Pointers
Unique Ptr
Weak Ptr
what's the point of std::unique_ptr::get
C++
C++11
Pointers
Unique Ptr
C++ inserting unique_ptr in map
C++
Pointers
Map
Stl
Unique Ptr
Iterating through vector<unique_ptr<mytype>> using C++11 for() loops
C++
C++11
Vector
Unique Ptr
"Downcasting" unique_ptr<Base> to unique_ptr<Derived>
C++
C++11
Smart Pointers
Factory Pattern
Unique Ptr
How do I use unique_ptr for pimpl?
C++
C++11
Pimpl Idiom
Unique Ptr
Difference between boost::scoped_ptr<T> and std::unique_ptr<T>
C++
Unique Ptr
Scoped Ptr
error: ‘unique_ptr’ is not a member of ‘std’
C++
C++11
G++
Unique Ptr
remove unique_ptr from queue
C++
C++11
Unique Ptr
How does the custom deleter of std::unique_ptr work?
C++
C++11
Unique Ptr
Delete Operator
shared_ptr<> is to weak_ptr<> as unique_ptr<> is to... what?
C++
C++11
Unique Ptr
unique_ptr boost equivalent?
C++
Boost
C++11
Unique Ptr
Should I use shared_ptr or unique_ptr
C++
C++11
Shared Ptr
Pimpl Idiom
Unique Ptr
Dynamic casting for unique_ptr
C++
Casting
C++11
Smart Pointers
Unique Ptr
How to capture a unique_ptr into a lambda expression?
C++
Lambda
C++11
Unique Ptr
What happens to unique_ptr after std::move()?
C++
Unique Ptr