Namespaces
Variants
Views
Actions

std::bad_exception::what

From cppreference.com
< cpp‎ | error‎ | bad exception
 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
 
 
virtual const char* what() const noexcept;
(constexpr since C++26)

Returns the explanatory string.

[edit] Parameters

(none)

[edit] Return value

Pointer to a null-terminated string with explanatory information.