HPX - High Performance ParalleX

PrevUpHomeNext

Header <hpx/lcos/when_some.hpp>

namespace hpx {
  template<typename Sequence> struct when_some_result;
  template<typename InputIter> 
    future< when_some_result< vector< future< typename std::iterator_traits< InputIter >::value_type > > > > 
    when_some(std::size_t, Iterator, Iterator, error_code & = throws);
  template<typename R> 
    future< when_some_result< std::vector< future< R > > > > 
    when_some(std::size_t, std::vector< future< R >> &&, 
              error_code & = throws);
  template<typename... T> 
    future< when_some_result< tuple< future< T >...> > > 
    when_some(std::size_t, error_code &, T &&...);
  template<typename... T> 
    future< when_some_result< tuple< future< T >...> > > 
    when_some(std::size_t, T &&...);
  template<typename InputIter> 
    future< when_some_result< vector< future< typename std::iterator_traits< InputIter >::value_type > > > > 
    when_some_n(std::size_t, Iterator, std::size_t, error_code & = throws);
}

PrevUpHomeNext