std::bad_weak_ptr
From cppreference.com
Template:cpp/memory/sidebar Template:ddcl list begin <tr class="t-dsc-header">
<td>Defined in header
</td>
<memory>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td >class bad_weak_ptr : public std::exception;
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> Template:ddcl list end
std::bad_weak_ptr
is the type of the object thrown as exceptions by the constructors of Template:cpp that take Template:cpp as the argument, when the Template:cpp refers to an already deleted object.
Member functions
Constructs the bad_weak_ptr object (public member function) | |
Returns the explanatory string (public member function) |
Template:cpp/error/exception/exception/inherit