Search code examples
How to make a class template that wraps a function in a noexcept-detectable, callable object, to use...


c++templatesunique-ptrparameterizationgeneric-lambda

Read More
Why does operator* of rvalue unique_ptr return an lvalue?...


c++c++11undefined-behaviorunique-ptrrvalue-reference

Read More
Why don't I get destructors called when using unique_ptr?...


c++smart-pointersunique-ptr

Read More
Using std::unique_ptr in multiple inheritance...


c++classmultiple-inheritanceunique-ptr

Read More
Why std::unique_ptr isn't optimized while std::variant can?...


c++compiler-optimizationunique-ptrstd-variant

Read More
Is there a way to serialize a heterogenous vector with nlohmann_json lib?...


c++inheritancestdvectorunique-ptrnlohmann-json

Read More
Find a pointer T* in std::unordered_set<std::unique_ptr> (C++20)...


c++unique-ptrc++20unordered-set

Read More
What happens to the reference of an object managed by a unique pointer that has been moved?...


c++memoryunique-ptr

Read More
Should I use unique_ptr for a string?...


c++c++11unique-ptrstdstring

Read More
How to return unique_ptr of an array created inside my function?...


c++visual-c++unique-ptrc++20

Read More
unique_ptr for non-polymorphic derived class with C++20 destroying operator delete...


c++unique-ptrdelete-operatorc++20

Read More
Do I need to explicitly initialize a std::unique_ptr in the constructor?...


c++constructorunique-ptr

Read More
C++0x performance improvements...


c++optimizationstlc++11unique-ptr

Read More
Rvalue and Move Semantics with Unique Pointer: error for object 0x7ffee5c7b670: pointer being freed ...


c++unique-ptrdelete-operatorrvalue-referencetemplate-classes

Read More
How to take ownership of an object while looping over std::vector of std::unique_ptr using a range b...


c++for-loopunique-ptrraiiownership

Read More
Problem in calling "enqueue_work" - vorbrodt thread_pool...


c++threadpoolunique-ptr

Read More
Abstract Class in std::unique_ptr as a Return from Function not Working...


c++polymorphismstdsubclassunique-ptr

Read More
convert vector<int> to const unique_ptr<const int[]>...


c++vectorcontainersunique-ptr

Read More
Pop method of linked list using unique_ptr...


c++smart-pointersunique-ptr

Read More
Does memory get freed when reassigning std::unique_ptr?...


c++memorymemory-leakssmart-pointersunique-ptr

Read More
pointer to const int using smart pointer...


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

Read More
Proper way to create unique_ptr that holds an allocated array...


c++linuxgccc++11unique-ptr

Read More
Is there a more concise way to initialize a unique_ptr<char[]> than this?...


c++initializationc++14smart-pointersunique-ptr

Read More
Why am I getting a crash after calling my constructor? I'm trying to push back a shared_ptr to a...


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

Read More
ordering in std::set of unique pointers...


c++c++17stdvectorunique-ptrstdset

Read More
how to construct a unique pointer that points to a certain string...


pointersc++17unique-ptrstdstring

Read More
How can I safely overload custom deleter of std::unique_ptr?...


c++memory-managementc++17smart-pointersunique-ptr

Read More
I'm begginer of c++. I study it with visual studio 2019(c++17), I has defined a class in a .h fi...


c++visual-studiounique-ptr

Read More
bool class template generic copy and move constructor...


c++templatescopy-constructorunique-ptr

Read More
c++ auto_ptr destroyed when passed into a function...


c++smart-pointersunique-ptrauto-ptr

Read More
BackNext