cpp · cpp/std--bad_weak_ptr
std--bad_weak_ptr
std::bad_weak_ptr
Thrown by the std::shared_ptr constructor that accepts a std::weak_ptr when the weak pointer has expired (the managed object has been destroyed).
Thrown by the std::shared_ptr constructor that accepts a std::weak_ptr when the weak pointer has expired (the managed object has been destroyed).