Gang Of Coders
Home
About Us
Contact Us
All Shared Ptr Solutions on Gang of Coders
Total of 43 Shared Ptr Solutions
NULL pointer with boost::shared_ptr?
C++
Boost
Null
Pointers
Shared Ptr
Error: expected type-specifier before 'ClassName'
C++
Shared Ptr
Pure Virtual
Differences between unique_ptr and shared_ptr
C++
Pointers
C++11
Shared Ptr
Unique Ptr
Should I use shared_ptr or unique_ptr
C++
C++11
Shared Ptr
Pimpl Idiom
Unique Ptr
Is make_shared really more efficient than new?
C++
Shared Ptr
Clang
Libc++
Make Shared
shared_ptr: horrible speed
C++
Performance
Compiler Construction
Shared Ptr
Are there any downsides with using make_shared to create a shared_ptr
C++
Boost
Shared Ptr
Segmentation fault when using a shared_ptr for private_key
C++
C++11
Segmentation Fault
Shared Ptr
Botan
How do I call ::std::make_shared on a class with only protected or private constructors?
C++
C++11
Shared Ptr
shared_ptr to an array : should it be used?
C++
C++11
Shared Ptr
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
Difference between `const shared_ptr<T>` and `shared_ptr<const T>`?
C++
Boost
Constants
Shared Ptr
Why do std::shared_ptr<void> work
C++
C++11
Shared Ptr
Should I pass a shared_ptr by reference?
C++
Shared Ptr
std::shared_ptr of this
C++
This
Shared Ptr
This Pointer
std::shared_ptr thread safety explained
C++
C++11
Shared Ptr
Passing shared_ptr<Derived> as shared_ptr<Base>
C++
Casting
C++11
Shared Ptr
Smart Pointers
Does C++11 unique_ptr and shared_ptr able to convert to each other's type?
C++
C++11
Shared Ptr
Unique Ptr
C++ - passing references to std::shared_ptr or boost::shared_ptr
C++
Boost
Pass by-Reference
Pass by-Value
Shared Ptr
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
Passing shared pointers as arguments
C++
C++11
Shared Ptr
C++ Faq
What is the difference between an empty and a null std::shared_ptr in C++?
C++
C++11
Shared Ptr
Example to use shared_ptr?
C++
Boost
Vector
Shared Ptr
Smart Pointers
shared_ptr and weak_ptr differences
C++
C++11
Shared Ptr
Weak Ptr
Cyclic Reference
C++11 When clearing shared_ptr, should I use reset or set to nullptr?
C++
C++11
Shared Ptr
Reset
Nullptr
How does one downcast a std::shared_ptr?
C++
C++11
Shared Ptr
Downcast
When to use virtual destructors?
C++
Polymorphism
Shared Ptr
Virtual Destructor
Why does unique_ptr take two template parameters when shared_ptr only takes one?
C++
C++11
Std
Shared Ptr
Unique Ptr
static_cast with boost::shared_ptr?
C++
Boost
Shared Ptr
Static Cast
Should I switch from using boost::shared_ptr to std::shared_ptr?
C++
Boost
Stl
C++11
Shared Ptr
Why can't a weak_ptr be constructed from a unique_ptr?
C++
Shared Ptr
Smart Pointers
Unique Ptr
Weak Ptr
Why isn't there a std::shared_ptr<T[]> specialisation?
C++
C++11
Shared Ptr
Difference in make_shared and normal shared_ptr in C++
C++
C++11
Shared Ptr
std::shared_ptr initialization: make_shared<Foo>() vs shared_ptr<T>(new Foo)
C++
C++11
Shared Ptr
Smart Pointers
shared_from_this causing bad_weak_ptr
C++
Boost
Shared Ptr
C++ Faq
getting a normal ptr from shared_ptr?
C++
Boost
Smart Pointers
Shared Ptr
The cost of passing by shared_ptr
C++
Performance
Shared Ptr
Should we pass a shared_ptr by reference or by value?
C++
C++11
Boost
Shared Ptr
When is std::weak_ptr useful?
C++11
Shared Ptr
Weak Ptr
C++ Faq
std::shared_ptr thread safety
C++
Std
Shared Ptr
std::shared_ptr: reset() vs. assignment
C++
C++11
Shared Ptr