Search code examples
Transferring a vector<shared_ptr<T>> by reference without bypassing shared semantics...

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

Read More
A map of boost:signals with boost:function definition...

c++shared-ptrboost-functionboost-signals

Read More
Dereference a rvalue shared_ptr...

c++shared-ptrrvalue

Read More
Understanding C++ std::shared_ptr when used with temporary objects...

c++syntaxexpressionshared-ptrdeclaration

Read More
does the move constructor invalidate shared_from_this...

c++multithreadingshared-ptrmove-constructorenable-shared-from-this

Read More
Empty weak pointer in enable_shared_from_this...

c++shared-ptrunique-ptrweak-ptrenable-shared-from-this

Read More
Non-const lvalue reference to type 'A *' cannot bind to a value of unrelated type 'std::...

c++shared-ptrreference-binding

Read More
Why does std::enable_shared_from_this allow multiple std::shared_ptr instances?...

c++c++17shared-ptrweak-ptrenable-shared-from-this

Read More
How to properly use the custom shared_ptr deleter?...

c++shared-ptrresource-management

Read More
Owning or sharing a resource between objects...

c++shared-ptrc++17

Read More
Will full memory barriers around std::shared_ptr's use_count() make it a reliable counter?...

c++multithreadingshared-ptrmemory-barriersreference-counting

Read More
How to interface between a foreign language and a C++ library which returns shared pointers...

c++c++17shared-ptrsmart-pointerskdb+

Read More
Should I always use shared_ptr to create a class instance(instead of just new)?...

c++classmemorystdshared-ptr

Read More
How does a lambda that captures a shared_ptr by value affect its use_count()?...

c++c++11lambdashared-ptr

Read More
Reassigning a pointer when the object it is pointing to is deleted by an instance of another class...

c++pointersshared-ptrsmart-pointersdangling-pointer

Read More
Assigning a shared_ptr to another after calling get...

c++pointersmoveshared-ptrmove-semantics

Read More
Lambda function captures wrong "this" pointer...

c++lambdashared-ptr

Read More
Can you use a member of deleter to keep alive a shared_ptr?...

c++shared-ptrvalue-type

Read More
Why does shared_ptr needs to hold reference counting for weak_ptr?...

c++c++11shared-ptrreference-counting

Read More
Initialization of dynamically allocated structures using shared pointer...

initializationstructureshared-ptrdynamic-memory-allocationinitializer-list

Read More
'<function-style-cast>': cannot convert from 'initializer list' to 'std::s...

c++shared-ptr

Read More
How much memory do 1000 shared pointers take?...

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

Read More
Deleting last element in a std::vector of std::shared_ptr while iterating over it causes segmentatio...

c++vectorshared-ptr

Read More
How to add values to list<shared_ptr<Abstract>>...

c++listpolymorphismabstract-classshared-ptr

Read More
Boost geometry register Point 2d as shared pointer...

c++boostshared-ptrboost-geometry

Read More
object containing smart pointer to itself that isn't reset before object goes out of scope...

c++pointersshared-ptr

Read More
How to implement a weak reference to an object in a constructor using boost::weak_ptr?...

c++shared-ptr

Read More
Why calling shared_from_this calls std::terminate...

c++c++11shared-ptrc++17std

Read More
Constructor dependency injection: unique_ptr + move vs shared_ptr...

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

Read More
Is there a way to make member function NOT callable from constructor?...

c++constructorc++17shared-ptrweak-ptr

Read More
BackNext