W3cubDocs

/C++

std::future_error::what

virtual const char* what() const;
(since C++11)

Returns the explanatory string.

Parameters

(none).

Return value

Pointer to a null-terminated string with explanatory information.

Exceptions

noexcept specification:
noexcept

See also

returns the error code
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/thread/future_error/what