Scroll to navigation

std::bad_exception::what(3) C++ Standard Libary std::bad_exception::what(3)

NAME

std::bad_exception::what - std::bad_exception::what

Synopsis

virtual const char* what() const noexcept; (constexpr since C++26)

Returns the explanatory string.

Parameters

(none)

Return value

Pointer to a null-terminated string with explanatory information.

2026.11.10 http://cppreference.com