libstdc++
Futures
Collaboration diagram for Futures:

Classes

Enumerations

Functions


Detailed Description

Classes for futures support.


Enumeration Type Documentation

Error code for futures.

Definition at line 61 of file future.

Status code for futures.

Definition at line 134 of file future.

Launch code for futures.

Definition at line 126 of file future.


Function Documentation

template<typename _Fn , typename... _Args>
future< typename result_of< _Fn(_Args...)>::type > std::async ( launch  __policy,
_Fn &&  __fn,
_Args &&...  __args 
)

async

Definition at line 1355 of file future.

template<typename _Fn , typename... _Args>
__async_sfinae_helper< typename decay< _Fn >::type, _Fn, _Args...>::type std::async ( _Fn &&  __fn,
_Args &&...  __args 
) [inline]

async, potential overload

Definition at line 1378 of file future.

const error_category& std::future_category ( )

Points to a statically-allocated object derived from error_category.

Referenced by std::make_error_code(), and std::make_error_condition().

error_code std::make_error_code ( future_errc  __errc) [inline]

Overload for make_error_code.

Definition at line 79 of file future.

References std::future_category().

error_condition std::make_error_condition ( future_errc  __errc) [inline]

Overload for make_error_condition.

Definition at line 84 of file future.

References std::future_category().

template<typename _Res , typename... _ArgTypes>
void std::swap ( packaged_task< _Res(_ArgTypes...)> &  __x,
packaged_task< _Res(_ArgTypes...)> &  __y 
) [inline]

swap

Definition at line 1289 of file future.