std::bad_weak_ptr::bad_weak_ptr

From cppreference.com
< cpp‎ | memory‎ | bad weak ptr
 
 
 
Dynamic memory management
Uninitialized storage
(C++17)
(deprecated since c++17)
(deprecated since c++17)
(deprecated since c++17)
Garbage collection support
Miscellaneous
(C++11)
(C++11)
C Library
Low level memory management
 
std::bad_weak_ptr
Member functions
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)