Search code examples
How can I `nlohmann::json::get<std::shared_ptr<const T>>`?...

c++parsingtemplatesshared-ptrnlohmann-json

Read More
Destructor is not called for shared_ptr derived class...

c++shared-ptrmediator

Read More
Why does shared_ptr not delete its memory?...

c++shared-ptrsmart-pointers

Read More
Why is std::shared_ptr::unique() deprecated?...

c++multithreadingshared-ptrc++17

Read More
Can't created a boost::shared_ptr from this...

c++templatesboostshared-ptrexplicit

Read More
Saving a const reference of a list that I get from another class is not working...

c++pointersreferenceshared-ptr

Read More
How to convert an object instance to shared_ptr instance...

c++boostshared-ptr

Read More
boost::shared_ptr and std::shared_ptr co-existence...

c++boostc++11shared-ptr

Read More
No matching conversion for functional-style cast from 'B *' to 'std::shared_ptr<A>...

classc++11shared-ptrdeclarationaccess-control

Read More
std::atomic load method decreases the reference count when used with std::shared_ptr...

c++c++11shared-ptratomic

Read More
How can I change the pointer in shared_ptr without losing the ability to delete the memory?...

c++memoryboostshared-ptr

Read More
Was the raw-pointer constructor of shared_ptr a mistake?...

c++c++11shared-ptrmake-shared

Read More
Crash when method of class is executing but smart pointer deleted the object...

c++memorymemory-managementshared-ptrsmart-pointers

Read More
GCC codegen: What does pthread_create_key() have to do with std::shared_ptr copying?...

c++assemblyx86-64shared-ptrgnu

Read More
Why does unique_ptr take two template parameters when shared_ptr only takes one?...

c++c++11stdshared-ptrunique-ptr

Read More
std::weak_ptr::lock and object destruction...

c++multithreadingshared-ptrweak-ptr

Read More
Automatically downcast a shared_ptr in parent class to child class type...

c++c++11shared-ptr

Read More
Vector and smart_pointer. I don't get the actual numbers...

c++vectorshared-ptrsmart-pointersunique-ptr

Read More
Modifying value of object pointed by a shared pointer...

c++c++17shared-ptrsmart-pointers

Read More
Who allocates the memory for control block of shared_ptr when using custom new() operator with a cla...

c++shared-ptrnew-operator

Read More
shared_ptr creation after object creation...

c++heap-memoryshared-ptrstack-memory

Read More
How to fix this shared_ptr reference cycles?...

c++shared-ptrweak-ptr

Read More
When to use std::make_shared_for_overwrite?...

c++shared-ptrc++20

Read More
`std::make_shared` fails for empty parameter pack...

c++variadic-templatesshared-ptr

Read More
Does a detached thread keep its captured shared_ptr alive?...

c++multithreadingmemoryshared-ptrsmart-pointers

Read More
c++ set and shared_ptr...

c++setshared-ptr

Read More
Lifetime of object pointed to by shared pointer...

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

Read More
Unable to hold QQmlContext in std::shared_ptr...

c++qtstlqmlshared-ptr

Read More
C++: Can I use smart pointers with templates?...

c++templatesshared-ptrsmart-pointers

Read More
Boost serialization (bug?) issue with MSVC, with vector<shared_ptr> in several libraries...

c++serializationboostshared-ptr

Read More
BackNext