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
Object storing a non-owning reference that must be informed before the reference is destructed
Oct 21, 2022
c++
c++11
smart-pointers
weak-ptr
Why was std::hash not defined for std::weak_ptr in C++0x?
Jun 22, 2022
c++11
hash
weak-ptr
stdhash
Having a vector of weak_ptr, want to return a vector of shared_ptr
May 31, 2022
c++
boost
vector
shared-ptr
weak-ptr
Portable hack to leak raw pointer from weak_ptr
Jun 05, 2022
c++
shared-ptr
weak-ptr
std::weak_ptr: lock or shared_ptr constructor?
Nov 05, 2022
c++
c++11
smart-pointers
weak-ptr
Is it guaranteed that weak_ptr will expire when shared_ptr is reset to the same address that contains?
Sep 11, 2018
c++
c++11
shared-ptr
weak-ptr
What happens to an expired weak_ptr in a map
Sep 14, 2022
c++
shared-ptr
weak-ptr
How `weak_ptr` and `shared_ptr` accesses are atomic
Oct 18, 2022
c++
multithreading
c++11
shared-ptr
weak-ptr
How to reduce the implementation code of lots of wrapper classes?
Mar 07, 2022
c++
c++11
shared-ptr
smart-pointers
weak-ptr
Why am I getting an access violation when locking a weak_ptr?
Oct 16, 2022
c++
c++11
access-violation
unhandled-exception
weak-ptr
two shared_ptr from same enable_shared_from_this instance
Nov 05, 2022
c++
shared-ptr
reference-counting
weak-ptr
enable-shared-from-this
weak_from_this() within constructor
Mar 03, 2022
c++
constructor
smart-pointers
weak-ptr
A set of weak_ptr
Nov 19, 2022
c++
c++11
set
smart-pointers
weak-ptr
Using weak_ptr to implement the Observer pattern
Nov 21, 2022
c++
c++11
observer-pattern
observers
weak-ptr
Avoiding indirect cyclic references when using shared_ptr and weak_ptr
Mar 09, 2017
c++
boost
shared-ptr
weak-ptr
cyclic-reference
Where is the race in this thread sanitzer warning?
Aug 29, 2022
c++
multithreading
shared-ptr
weak-ptr
thread-sanitizer
Is it safe to use a weak_ptr in a std::set or key of std::map
Sep 11, 2022
c++
c++11
weak-ptr
Why doesn't std::weak_ptr have operator->?
Nov 19, 2022
c++
shared-ptr
smart-pointers
weak-ptr
Weak pointer to this in constructor
Aug 20, 2022
c++
boost
constructor
shared-ptr
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
« Newer Entries
Older Entries »