HPX - High Performance ParalleX

PrevUpHomeNext

Header <hpx/lcos/when_any.hpp>

namespace hpx {
  template<typename InputIter> 
    future< vector< future< typename std::iterator_traits< InputIter >::value_type > > > 
    when_any(InputIter, InputIter, error_code & = throws);
  template<typename R> 
    future< std::vector< future< R > > > 
    when_any(std::vector< future< R >> &, error_code & = throws);
  template<typename... T> 
    future< tuple< future< T >...> > when_any(T &&..., error_code & = throws);
  template<typename InputIter> 
    future< vector< future< typename std::iterator_traits< InputIter >::value_type > > > 
    when_any_n(InputIter, std::size_t, error_code & = throws);
  template<typename InputIter> 
    future< vector< future< typename std::iterator_traits< InputIter >::value_type > > > 
    when_any_back(InputIter, InputIter, error_code & = throws);
  template<typename R> 
    future< std::vector< future< R > > > 
    when_any_back(std::vector< future< R >> &, error_code & = throws);
  template<typename... T> 
    future< tuple< future< T >...> > 
    when_any_back(T &&..., error_code & = throws);
  template<typename InputIter> 
    future< vector< future< typename std::iterator_traits< InputIter >::value_type > > > 
    when_any_back_n(InputIter, std::size_t, error_code & = throws);
}

PrevUpHomeNext