Search code examples
Is it OK to save a reference to the object managed by a shared_ptr?...


c++shared-ptrsmart-pointers

Read More
Override method with shared_ptr Base type with shared_ptr Derived type...


c++polymorphismoverridingsmart-pointerscovariant-return-types

Read More
How to allow a std::unique_ptr to access a class's private destructor or implement a C++ factory...


c++destructorsmart-pointersfriend-class

Read More
Thread Safety of Shared Pointers' Control Block...


c++multithreadingsmart-pointers

Read More
How to give a child a weak pointer to a parent? (C++)...


c++c++17smart-pointersunique-ptrweak-ptr

Read More
Allocate char* array with boost::make_shared...


c++boostshared-ptrsmart-pointersmake-shared

Read More
How to use std::min_element on map with unique pointer values? (C++)...


c++algorithmstlc++17smart-pointers

Read More
How to enqueue each element in a vector of unique pointers? (C++)...


c++c++11templatesqueuesmart-pointers

Read More
Smart Pointers compatibility with raw pointers...


c++memory-managementsmart-pointers

Read More
Move assignment operator is not moving my shared_ptr...


c++c++11smart-pointersmove-semantics

Read More
What is diffrence between lock() and expired()? weak_ptr C++...


c++c++11shared-ptrsmart-pointersweak-ptr

Read More
Create a constructor for a shared_ptr<MyClass>...


c++typedefsmart-pointers

Read More
Constructing shared_ptr from unique_ptr with and without move?...


c++c++11smart-pointers

Read More
Function returns const ref to std::unique_ptr, can it return null?...


c++c++11stdsmart-pointersunique-ptr

Read More
How to use a custom deleter using WinAPI with std::make_unique?...


c++winapistlsmart-pointers

Read More
c++ shared_ptr does not provide a call operator...


c++constructorshared-ptrsmart-pointers

Read More
Smart pointers to an object explicitly created object...


c++c++11shared-ptrsmart-pointersunique-ptr

Read More
using std::accumulate when there is pointer...


c++vectorlambdasmart-pointersaccumulate

Read More
gtkmm widgets - use smartpointers or pointers?...


c++memory-managementsmart-pointersgtkmm

Read More
C++ Shared_Ptr not sharing?...


c++shared-ptrsmart-pointers

Read More
CRTP with smart pointers...


c++smart-pointerscrtp

Read More
Why I'm getting "invalid use of incomplete type" error when I change raw pointer to un...


c++pointerssdl-2smart-pointers

Read More
smart pointer array deletor...


c++smart-pointers

Read More
C++ store pointer of element of container...


c++containerssmart-pointers

Read More
How to pass shared_ptr to class with lower lifetime?...


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

Read More
Is it possible to reuse a smart pointer's memory for another object?...


c++smart-pointers

Read More
Shared_pointer showing different behaviour than the one i read in text book...


c++stlsmart-pointers

Read More
access the unique pointer across the class without using reference or shared pointer...


c++singletonc++17smart-pointersunique-ptr

Read More
Does C++11 have wrappers for dynamically-allocated arrays like Boost's scoped_array?...


c++11memory-managementboostwrappersmart-pointers

Read More
How memory is deallocated in shared_ptr via the operator=?...


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

Read More
BackNext