Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in unique-ptr
When is it appropriate to use std::optional
Sep 13, 2022
c++
stl
return
unique-ptr
stdoptional
Why does std::unique_ptr have an equality operator?
Oct 06, 2022
c++
c++11
smart-pointers
unique-ptr
comparison-operators
How to prevent clients from passing a nullptr to a constructor?
Apr 27, 2018
c++
c++11
constructor
unique-ptr
c++ unique pointer: memory leak
Feb 17, 2022
c++
c++11
memory-leaks
smart-pointers
unique-ptr
C++ array of char using unique_ptr
Jul 14, 2022
c++
c++11
unique-ptr
What's wrong to reset std::unique_ptr to pointer to array?
Aug 17, 2022
c++
c++11
smart-pointers
unique-ptr
Does std::unique_ptr set its underlying pointer to nullptr inside its destructor?
Sep 13, 2022
c++
unique-ptr
nullptr
Returning a unique_ptr<T> . Concept clarification
Jan 03, 2018
c++
boost
c++11
copy-constructor
unique-ptr
simple structs with make_unique and emplace_back
Jul 12, 2022
c++
unique-ptr
emplace
Smart pointers - unique_ptr for a stack-allocated variable
Jun 03, 2022
c++
smart-pointers
unique-ptr
C++ Vector of unique pointers practice
May 04, 2022
c++
c++11
vector
c++14
unique-ptr
Will the original object get deleted if I return a unique_ptr?
Mar 11, 2018
c++
unique-ptr
Referring to a "std::unique_ptr" that you don't own (use a raw pointer?)
Sep 12, 2022
c++
c++11
shared-ptr
unique-ptr
weak-ptr
Is it dangerous to have a cast operator on a unique_ptr?
Jul 13, 2022
c++
c++11
unique-ptr
vector<unique_ptr<A> > using initialization list
Jul 19, 2019
c++
c++11
constructor
containers
unique-ptr
Correct usage of unique_ptr in class member
Apr 29, 2022
c++
c++11
c++14
unique-ptr
Using unique_ptr instead of shared_ptr in BST
Aug 31, 2019
c++
c++11
binary-search-tree
shared-ptr
unique-ptr
C++ shared_ptr vs. unique_ptr for resource management
Jul 06, 2022
c++
shared-ptr
smart-pointers
unique-ptr
resourcemanager
Why shouldn't I use shared_ptr and unique_ptr always and instead use normal pointers?
Sep 14, 2022
c++
shared-ptr
unique-ptr
Pointer to unique_ptr - is this a loophole?
Nov 17, 2022
c++
unique-ptr
« Newer Entries
Older Entries »