Gang Of Coders
Home
About Us
Contact Us
All Smart Pointers Solutions on Gang of Coders
Total of 39 Smart Pointers Solutions
creating a shared_ptr from unique_ptr
C++
C++11
G++
Smart Pointers
Clang++
Dynamic casting for unique_ptr
C++
Casting
C++11
Smart Pointers
Unique Ptr
Smart pointers/safe memory management for C?
C
Memory
Pointers
C99
Smart Pointers
Can Google Mock a method with a smart pointer return type?
C++
Unit Testing
Smart Pointers
Googlemock
Is there any use for unique_ptr with array?
C++
C++11
Smart Pointers
Unique Ptr
Why can I not push_back a unique_ptr into a vector?
C++
Stl
C++11
Smart Pointers
Unique Ptr
Which kind of pointer do I use when?
C++
Pointers
C++11
Smart Pointers
C++ Faq
smart pointers (boost) explained
C++
Boost
Smart Pointers
std::auto_ptr to std::unique_ptr
C++
C++11
Smart Pointers
Auto Ptr
Unique Ptr
RAII and smart pointers in C++
C++
Smart Pointers
Raii
Why would I std::move an std::shared_ptr?
C++
C++11
Shared Ptr
Smart Pointers
Move Semantics
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
Why do C++ libraries and frameworks never use smart pointers?
C++
Pointers
Smart Pointers
How much is the overhead of smart pointers compared to normal pointers in C++?
C++
Performance
C++11
Smart Pointers
What C++ Smart Pointer Implementations are available?
C++
Smart Pointers
C++ Faq
Passing shared_ptr<Derived> as shared_ptr<Base>
C++
Casting
C++11
Shared Ptr
Smart Pointers
Smart pointers: who owns the object?
C++
Memory Management
Smart Pointers
Ownership Semantics
How to return smart pointers (shared_ptr), by reference or by value?
C++
Return
Smart Pointers
Why is shared_ptr<void> legal, while unique_ptr<void> is ill-formed?
C++
Shared Ptr
Smart Pointers
Unique Ptr
Where is shared_ptr?
C++
Boost
C++11
Shared Ptr
Smart Pointers
Is there a non-atomic equivalent of std::shared_ptr? And why isn't there one in <memory>?
C++
C++11
Smart Pointers
What is a smart pointer and when should I use one?
C++
Pointers
C++11
Smart Pointers
C++ Faq
Why is auto_ptr being deprecated?
C++
C++11
Smart Pointers
Auto Ptr
shared_ptr magic :)
C++
Destructor
Smart Pointers
When to use shared_ptr and when to use raw pointers?
C++
Smart Pointers
Is auto_ptr deprecated?
C++
Standards
Smart Pointers
Auto Ptr
Unique Ptr
Example to use shared_ptr?
C++
Boost
Vector
Shared Ptr
Smart Pointers
How can I use covariant return types with smart pointers?
C++
Covariance
Smart Pointers
Should I assign or reset a unique_ptr?
C++
C++11
Smart Pointers
Unique Ptr
RAII vs. Garbage Collector
C++
Memory Leaks
Garbage Collection
Smart Pointers
Why can't a weak_ptr be constructed from a unique_ptr?
C++
Shared Ptr
Smart Pointers
Unique Ptr
Weak Ptr
When should I use raw pointers over smart pointers?
C++
Pointers
Boost
Smart Pointers
Why does unique_ptr have the deleter as a type parameter while shared_ptr doesn't?
C++
Smart Pointers
Type Erasure
"Downcasting" unique_ptr<Base> to unique_ptr<Derived>
C++
C++11
Smart Pointers
Factory Pattern
Unique Ptr
std::shared_ptr initialization: make_shared<Foo>() vs shared_ptr<T>(new Foo)
C++
C++11
Shared Ptr
Smart Pointers
getting a normal ptr from shared_ptr?
C++
Boost
Smart Pointers
Shared Ptr
smart pointers and arrays
C++
C++11
Smart Pointers
C++11: Replace all non-owning raw pointers with std::shared_ptr()?
C++
Memory
C++11
Smart Pointers