libstdc++: std::future_error Class Reference (original) (raw)
#include <[future](a00101%5Fsource.html)>
Public Member Functions | |
---|---|
future_error (future_errc __errc) | |
const error_code & | code () const noexcept |
virtual const char * | what () const noexcept |
Friends | |
---|---|
void | __throw_future_error (int) |
Exception type thrown by futures.
Since
C++11
Definition at line 108 of file future.
std::future_error::future_error ( future_errc __errc) | inlineexplicit |
---|
Definition at line 112 of file future.
◆ code()
const error_code & std::future_error::code ( ) const | inlinenoexcept |
---|
Definition at line 122 of file future.
◆ what()
virtual const char * std::future_error::what ( ) const | virtualnoexcept |
---|
Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor).
Reimplemented from std::logic_error.
The documentation for this class was generated from the following file: