HPX - High Performance ParalleX

PrevUpHomeNext

Header <hpx/lcos/when_any.hpp>

namespace hpx {
  template<typename Sequence> struct when_any_result;
  template<typename InputIter, 
           typename Container = vector<future<typename std::iterator_traits<InputIter>::value_type>> > 
    future< when_any_result< Container > > when_any(InputIter, InputIter);
  template<typename Range> 
    future< when_any_result< Range > > when_any(Range &);
  template<typename InputIter, 
           typename Container = vector<future<typename std::iterator_traits<InputIter>::value_type>> > 
    future< when_any_result< Container > > when_any_n(InputIter, std::size_t);
}

PrevUpHomeNext