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 weak-ptr
Do I have to use weak_ptr.lock() just to test if it points to a valid object?
Nov 12, 2022
c++
shared-ptr
weak-ptr
Is there a weak_ptr equivalent to shared_from_this?
Jan 26, 2020
c++
pointers
c++14
shared-ptr
weak-ptr
shared_ptr and cyclic references
Nov 15, 2022
c++
shared-ptr
weak-ptr
cyclic-reference
Should I call reset on a weak_ptr if I happen to notice it's expired?
Apr 12, 2020
c++
shared-ptr
weak-ptr
How to get rid of weak_ptrs in a container
Nov 12, 2022
c++
c++11
weak-ptr
Does shared_ptr still own its object when calling the deleter?
May 01, 2021
c++
language-lawyer
destructor
shared-ptr
weak-ptr
What is the cyclic dependency issue with shared_ptr?
Apr 01, 2018
c++
shared-ptr
weak-ptr
Smart pointers + cycles + "->"
Oct 30, 2022
c++
c++11
shared-ptr
smart-pointers
weak-ptr
What Happens to a weak_ptr when Its shared_ptr is Destroyed?
Aug 25, 2022
c++
shared-ptr
weak-ptr
Creating weak_ptr<> from raw pointer
Oct 28, 2022
c++
pointers
boost
weak-ptr
shared, weak and lazy pointers in C++
Feb 08, 2020
c++
shared-ptr
lazy-initialization
weak-ptr
How does a weak_ptr know that the shared resources has expired?
Oct 05, 2019
c++
shared-ptr
smart-pointers
weak-ptr
refcounting
std::enable_shared_from_this: is it allowed to call shared_from_this() in destructor?
Aug 27, 2022
c++
c++11
destructor
shared-ptr
weak-ptr
How to remove (non-intrusive) smart pointers from a cache when there are no more references?
Nov 14, 2018
c++
caching
shared-ptr
smart-pointers
weak-ptr
Store weak pointer to self
Nov 14, 2022
c++
smart-pointers
weak-ptr
Can an expired weak_ptr be distinguished from an uninitialized one?
Feb 17, 2022
c++
c++11
weak-ptr
How to make a c++11 std::unordered_set of std::weak_ptr
Sep 23, 2022
c++
c++11
std
unordered-set
weak-ptr
`weak_ptr::expired` behavior in the dtor of the object
Sep 15, 2022
c++
c++11
c++14
shared-ptr
weak-ptr
static_pointer_cast for weak_ptr
Sep 05, 2022
c++11
weak-ptr
How can I use a std::map with std::weak_ptr as key?
May 14, 2018
c++
dictionary
stdmap
weak-references
weak-ptr
« Newer Entries
Older Entries »