SpiceQA
Questions
Tags
Users
Badges
weak-ptr
31 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Why must the lock() function be used with a std::weak_ptr to safely extract the std::shared_ptr?
user_13837171
0
•
asked Aug 24, 2022
1
3
44
weak-ptr
shared-ptr
c++
How to ensure a weak_ptr is not created from a temporary shared_ptr?
user_1947081
0
•
asked Jul 9, 2022
5
1
122
weak-ptr
c++-concepts
typetraits
c++20
c++
Can I reset shared_ptr without deleting object so that weak_ptr loses a reference to it
user_17945984
0
•
asked Feb 3, 2022
5
2
252
weak-ptr
shared-ptr
c++
About shared_mutex and shared_ptr across multiple threads
user_17945984
0
•
asked Jan 16, 2022
1
1
256
readerwriterlock
weak-ptr
shared-ptr
multithreading
c++
Calling `.lock()` on weak_ptr returns NULL shared_ptr
user_8150186
0
•
asked Jan 1, 2022
2
1
211
weak-ptr
c++14
c++
how to implement std::weak_ptr::lock with atomic operations?
user_17634490
0
•
asked Dec 13, 2021
3
1
135
weak-ptr
libc++
stdatomic
libstdc++
visual-c++
How to compute hash of std::weak_ptr?
user_2565238
0
•
asked Nov 27, 2021
4
2
258
weak-ptr
hash
c++
Swig: simple idiomatic wrapper usage when weak_ptr are used?
user_4669135
0
•
asked Nov 5, 2021
2
1
139
weak-ptr
swig
weak-references
garbage-collection
c++
Mutual dependency of two objects
user_5226287
0
•
asked Jul 9, 2021
3
4
297
weak-ptr
aggregation
weak-references
dependencies
c++
std::weak_ptr::lock and object destruction
user_8284018
0
•
asked Jul 6, 2021
2
1
372
weak-ptr
shared-ptr
multithreading
c++
1
(current)
2
3
4
Next
Next
Hot Questions