HPX - High Performance ParalleX

PrevUpHomeNext

Struct template when_some_result

hpx::when_some_result

Synopsis

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

template<typename Sequence> 
struct when_some_result {

  // public data members
  std::vector< std::size_t > indices;  // List of indices of futures which became ready. 
  Sequence futures;  // The sequence of futures as passed to hpx::when_some. 
};

Description

Result type for when_some, contains a sequence of futures and indices pointing to ready futures.


PrevUpHomeNext