std::future_error - Man Page

Exception type thrown by futures.

Synopsis

Inherits std::logic_error.

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)

Detailed Description

Exception type thrown by futures.

Since

C++11

Definition at line 108 of file future.

Constructor & Destructor Documentation

std::future_error::future_error (future_errc __errc) [inline], [explicit]

Definition at line 112 of file future.

Member Function Documentation

const error_code & std::future_error::code () const [inline], [noexcept]

Definition at line 122 of file future.

virtual const char * std::future_error::what () const [virtual], [noexcept]

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.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Info

Thu Jan 19 2023 libstdc++