Reference

class
<future>

std::future_error

class future_error : public logic_error;
Future error exception

This class defines the type of objects thrown as exceptions to report invalid operations on future objects or other elements of the library that may access a future 's shared state.

The class inherits from logic_error , to which it adds an error_code as member code (and defines a specialized what member).

Member functions

(constructor)
Construct future_error (public member function)
code
Get error code (public member function)
what
Get message associated to exception (public member function)

AltStyle によって変換されたページ (->オリジナル) /