Reference

class
<memory>

std::bad_weak_ptr

class bad_weak_ptr: public exception;
Bad weak pointer

Exception thrown by shared_ptr's constructor when constructed with an expired weak_ptr.

bad_weak_ptr inherits from the standard exception class.

Member what returns "bad_weak_ptr".

Member functions

(constructor)
Construct bad_weak_ptr (public member function)
what
Get message associated to exception (public member function)

AltStyle によって変換されたページ (->オリジナル) /