Search code examples
boost::shared_ptr of a class as a struct member...


c++booststructshared-ptr

Read More
What is the advantage of passing by reference to shared_ptr over passing by reference directly...


c++c++11referenceshared-ptrsmart-pointers

Read More
alternative to std::atomic_store(shared_ptr) for GCC <= 4.9?...


c++gccshared-ptratomic

Read More
Are weak pointers guaranteed to have expired by the time the std::shared_ptr deleter runs?...


c++c++11c++14shared-ptr

Read More
How does one downcast a std::shared_ptr?...


c++c++11shared-ptrdowncast

Read More
std::shared_ptr templated vs. non-templated copy/move constructors...


c++templatesc++11shared-ptr

Read More
When to pass by pointer or shared_ptr...


c++pointersvectorreferenceshared-ptr

Read More
Does enable_shared_from_this and make_shared provide the same optimization...


c++shared-ptrmake-shared

Read More
Why enable_shared_from_this must be publicly inherited?...


c++c++11shared-ptr

Read More
shared_ptr vs. new operator: which one to use...


c++taskshared-ptrcontinuationsppl

Read More
Issues when creating a shared pointer of condition variable...


c++c++11shared-ptrcondition-variable

Read More
How does shared_ptr increase counter when passed by value?...


c++shared-ptrsmart-pointersrvo

Read More
Why does calling a method on a shared_ptr in a vector throw a runtime exception?...


c++shared-ptrruntimeexception

Read More
How does counter decrement of smart pointer work?...


c++shared-ptrsmart-pointers

Read More
How to store references to objects from one vector in another vector in C++?...


c++pointersreferenceshared-ptrunique-ptr

Read More
Why atomic overloads for shared_ptr exist...


c++c++11shared-ptrsmart-pointers

Read More
shared_ptr deleter issue...


c++templatesc++14shared-ptr

Read More
enable_shared_from_this not initialized while using shared_ptr from unique_ptr to base class. why?...


c++shared-ptrunique-ptr

Read More
Shared_ptr cannot be initialized in constructor if `this` involved...


c++shared-ptr

Read More
std set of boost::shared_ptr<string>...


c++boostshared-ptr

Read More
Adding std::shared_ptr to a map ruins programs behaviour...


c++shared-ptr

Read More
Best modern C++ way to handle a std::array of shared_ptrs?...


c++shared-ptr

Read More
New to c++11 features, proper use of shared_ptr?...


c++c++11shared-ptrsmart-pointers

Read More
Is boost shared_ptr <XXX> thread safe?...


c++boostthread-safetyshared-ptrboost-smart-ptr

Read More
Breaking cyclic references with std::weak_ptr and alias constructor: sound or problematic?...


c++shared-ptrweak-ptrcyclic-reference

Read More
Shared pointers debugging in Microsoft Visual C++...


c++visual-c++visual-studio-2015shared-ptr

Read More
Segmentation fault on class destruction with boost::timer as a member of the class with periodic inv...


c++segmentation-faultshared-ptrboost-timer

Read More
Getting 'bad_weak_ptr' error...


c++boostshared-ptrweak-ptr

Read More
Passing const shared_ptr<T>& versus just shared_ptr<T> as parameter...


c++shared-ptr

Read More
Can pointer 'this' be a shared pointer?...


c++multithreadingshared-ptrsmart-pointersreference-counting

Read More
BackNext