List Question
20 TechQA 2024-03-28T22:54:56.680000In Rust, what is the lock-free alternative of Arc<RefCell<T>> if T is already Sync & lock-free?
61 views
Asked by tribbloid
In Rust, how to coerce a mutex lock into a reference with identical lifetime?
36 views
Asked by tribbloid
Memory Management in C++: Differences in allocating shared_ptr using new vs make_shared
52 views
Asked by Ido Fassberg
How can std::unique_ptr apply EBO on closure?
57 views
Asked by Paoer111
Copying shared_ptr passed to base class
41 views
Asked by SupAl
The smart pointer (specifically shared_ptr) doesn't act like I expected, how to fix it (elegantly)
61 views
Asked by Michael
Dynamic cast a pointer to a child class unique pointer to pointer of parent class unique pointer
42 views
Asked by romain.bqt4
how to return an array of struct pointers?
102 views
Asked by Ayodya Enhanayoan
When are smart pointers' memory cleared on calling execv() in a program?
122 views
Asked by Naveen Kedilaya
Overwrite "object managing shared pointer" with new memory C++
49 views
Asked by Nitron_707
Shared pointer from static function
235 views
Asked by André Lehto
shared_ptr and unique_ptr: question about a specific case
82 views
Asked by Raphael10
TSAN data-race reported when two classes refer to each other via weak_ptr
180 views
Asked by Joe M
How to use 'this' pointer with smart pointers
200 views
Asked by Илина Бокарева
Compare boost intrusive_ptr with different const-ness
116 views
Asked by αλεχολυτ
Shared pointer with predefined maximum use count
156 views
Asked by SpeakX
How to do pattern matching with boxed enum?
77 views
Asked by Dhruv D Jain
C++ atomics Correct memory order and thread fencing for a shared_ptr implementation
57 views
Asked by h243jian
Conceptual ownership vs temporary shared access with `unique_ptr` / `shared_ptr`
121 views
Asked by imre
Is Qt incompatible with RAII design patterns?
136 views
Asked by Bobby