SpiceQA
Questions
Tags
Users
Badges
smart-pointers
184 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Does memory get freed when reassigning std::unique_ptr?
user_13468902
0
•
asked Aug 14, 2020
4
3
898
unique-ptr
memory-leaks
smart-pointers
memory
c++
Initialize field with raw pointer to object after base class constructed with moved unique_ptr to same object
user_13561527
0
•
asked Aug 12, 2020
3
2
167
smart-pointers
c++11
c++
Is there a more concise way to initialize a unique_ptr<char[]> than this?
user_3684792
0
•
asked Aug 10, 2020
4
2
385
c++14
unique-ptr
smart-pointers
initialization
c++
How can I safely overload custom deleter of std::unique_ptr?
Admin
1
•
asked Aug 1, 2020
2
2
164
unique-ptr
c++17
smart-pointers
memory-management
c++
C++ Smart Pointers Scope and Resource Deleting
user_12259587
0
•
asked Jul 29, 2020
2
3
65
c++14
smart-pointers
function
scope
c++
c++ auto_ptr destroyed when passed into a function
user_1850007
0
•
asked Jul 28, 2020
2
1
142
unique-ptr
auto-ptr
smart-pointers
c++
How to check if a std::unique_ptr is null, if it is in a std::vector?
user_1467600
0
•
asked Jul 20, 2020
2
2
1473
c++14
stdvector
pointers
smart-pointers
c++
Create an array of objects using std::unique_ptr
user_11930602
0
•
asked Jul 19, 2020
2
1
133
smart-pointers
arrays
c++
When to use move semantics over references or unique pointers?
user_3504410
0
•
asked Jul 13, 2020
2
1
338
move-semantics
unique-ptr
smart-pointers
c++
Exception thrown while trying to use smart pointers
user_13716265
0
•
asked Jul 6, 2020
2
2
76
smart-pointers
exception
design-patterns
c++
Prev
Prev
6
7
8
(current)
9
10
Next
Next
Hot Questions