Portable concurrency  0.11.0
Public Attributes | List of all members
when_any_result< Sequence >

Public Attributes

std::size_t index
 Index of a ready future in the futures field.
 
Sequence futures
 Sequence of futures passed as an argument to when_any function. Input order is always preserved.
 

Detailed Description

template<typename Sequence>
struct portable_concurrency::cxx14_v1::when_any_result< Sequence >

Structure hoding sequence of futures passed as arguments to one of the when_any function overload and the index of a future in this sequence which is ready.