C++ Exception Library - future_error


Advertisements

Description

It is a future error exception and 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.

Declaration

Following is the declaration for std::future_error.

class future_error;

C++11

class future_error;

Parameters

none

Return Value

none

Exceptions

No-throw guarantee − no members throw exceptions.

Members

  • constructor − what_arg has the same content as the value returned by member what.

  • what − It is used to get string identifying exception.

exception.htm
Advertisements