HPX - High Performance ParalleX

PrevUpHomeNext

Struct template when_any_result

hpx::when_any_result

Synopsis

// In header: <hpx/lcos/when_any.hpp>

template<typename Sequence> 
struct when_any_result {

  // public data members
  std::size_t index;  // The index of a future which has become ready. 
  Sequence futures;  // The sequence of futures as passed to hpx::when_any. 
};

Description

Result type for when_any, contains a sequence of futures and an index pointing to a ready future.


PrevUpHomeNext