Exception type thrown when a weak_ptr is locked after its managed object is destroyed.
Synopsis
Declared in <bslstl_badweakptr.h>
class BadWeakPtr
: public std::exception
Description
This class provides an exception type thrown when a weak_ptr object is locked after the managed object has been destroyed. This class conforms to the C++11 standard specification of std::bad_weak_ptr.
Base Classes
Name |
Description |
|
Base class for all library exceptions. |
Member Functions
Name |
Description |
|
Create a |
|
Destroy this object. |
Assign to this object the value of the specified |
|
|
Return a pointer to the string literal "bad_weak_ptr". |
Created with MrDocs