class
std::bad_alloc
- Header
<new>- Draft
- [bad.alloc]
- Scope
std- cppreference
- std::bad_alloc
Synopsis
class bad_alloc
: public exceptionMember functions
| Name | Declaration |
|---|---|
bad_allocconstructor · 2 overloads | bad_alloc() +1 more |
~bad_allocdestructor | ~bad_alloc() |
operator=operator · 2 overloads | bad_alloc& operator=(const bad_alloc& other) +1 more |
whatmember function | const char* what() const |