Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
20
Memory management library
[mem]
20.3
Smart pointers
[smartptr]
20.3.2
Shared-ownership pointers
[util.sharedptr]
20.3.2.1
Class
bad_
weak_
ptr
[util.smartptr.weak.bad]
🔗
namespace
std
{
class
bad_weak_ptr
:
public
exception
{
public
:
// see
[exception]
for the specification of the special member functions
const
char
*
what
(
)
const
noexcept
override
;
}
;
}
1
#
An exception of type
bad_
weak_
ptr
is thrown by the
shared_
ptr
constructor taking a
weak_
ptr
.
🔗
const
char
*
what
(
)
const
noexcept
override
;
2
#
Returns
: An
implementation-defined
ntbs
.