std::bad_alloc::bad_alloc

From cppreference.com
 
 
 
 
 
std::bad_alloc
Member functions
bad_alloc::bad_alloc
Inherited from std::exception
exception::~exception
exception::what
 
bad_alloc();

Constructs new bad_alloc object with an implementation-defined null-terminated byte string which is accessible through what().

[edit] Parameters

(none)

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)