W3cubDocs

/C++

std::bad_weak_ptr::bad_weak_ptr

bad_weak_ptr();

Constructs new bad_weak_ptr object. what() returns "bad_weak_ptr" afterwards.

Parameters

(none).

Exceptions

(none) (until C++11)
noexcept specification:
noexcept
(since C++11)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/memory/bad_weak_ptr/bad_weak_ptr