Search code examples
Best way to store std::vector of derived class in a host parent class...


c++shared-ptrsmart-pointersunique-ptrderived-class

Read More
Is it possible to determine if a pointer points to a valid object, and if so how?...


c++pointerssmart-pointers

Read More
How can I fill a map with a vector?...


pointersvectorshared-ptrsmart-pointersstdmap

Read More
Pass raw pointer to function that accepts unique_ptr as parameter...


c++templatessmart-pointers

Read More
replacing new with smart pointers in this example...


c++smart-pointers

Read More
How to enable Rust Ownership paradigm in C++...


c++rustsmart-pointers

Read More
Pass reference to function that takes `std::unique_ptr`...


c++smart-pointers

Read More
"auto" keyword: How to customize it?...


c++smart-pointersauto

Read More
why the raw pointer get by std::unique_ptr's get() can not delete the object and how is that imp...


c++smart-pointersunique-ptr

Read More
C++0x Smart Pointer Comparisons: Inconsistent, what's the rationale?...


c++c++11stdsmart-pointers

Read More
Alternatives for storing a class member as a raw pointer...


c++pointersreferencepolymorphismsmart-pointers

Read More
Is it safe to init a std::unique_ptr from a local raw pointer?...


c++11smart-pointersunique-ptr

Read More
Use of observer_ptr...


c++smart-pointersc++17

Read More
Smart pointers cast c++17 apple clang...


c++c++17clangsmart-pointers

Read More
Drawing Smart Pointers in UML...


c++boostumlshared-ptrsmart-pointers

Read More
(C++) How to write a clone method for a class which has a unique pointer as a data member?...


c++pointersdecoratorclonesmart-pointers

Read More
unique_ptr heap and stack allocation...


c++11pointerssmart-pointersheap-memoryunique-ptr

Read More
Vector of shared pointers to templated classes...


c++c++11polymorphismshared-ptrsmart-pointers

Read More
auto_ptr or shared_ptr equivalent in managed C++/CLI classes...


c++-clismart-pointersauto-ptr

Read More
Why std::shared_ptr doesn't work with base template classes?...


c++templatesinheritanceoperator-overloadingsmart-pointers

Read More
Why smart pointer type member variable can't be initialized at the declaring place in a class?...


c++classinitializationsmart-pointerscopy-initialization

Read More
Is there a recommended way to test if a smart pointer is null?...


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

Read More
Why cannot I use [] operator on std::shared_ptr<unsigned char[]>?...


c++smart-pointers

Read More
Move object from local variable to std::shared_ptr...


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

Read More
How do you push_back a shared_ptr variable to a vector of shared_ptrs in C++?...


c++pointersscopestlsmart-pointers

Read More
Why does shared_ptr<int> p; p=nullptr; compile?...


c++c++11shared-ptrsmart-pointersexplicit

Read More
Question about returning an unique_ptr from a function...


c++c++11smart-pointersunique-ptr

Read More
Is providing a deleter explicitly required when storing array types inside smart pointers?...


c++arrayssmart-pointers

Read More
shared_ptr with given C-like allocation and deallocation functions...


c++memory-managementshared-ptrsmart-pointers

Read More
Best practice when dealing with C++ iostreams...


c++smart-pointersiostream

Read More
BackNext