YACLib
C++ library for concurrent tasks execution
|
#include <yaclib/async/detail/when_any_impl.hpp>
#include <yaclib/async/detail/when_impl.hpp>
#include <yaclib/async/future.hpp>
#include <yaclib/config.hpp>
#include <yaclib/util/fail_policy.hpp>
#include <yaclib/util/type_traits.hpp>
#include <cstddef>
#include <iterator>
#include <utility>
Go to the source code of this file.
Namespaces | |
namespace | yaclib |
Functions | |
template<FailPolicy P = FailPolicy::LastFail, typename It , typename T = typename std::iterator_traits<It>::value_type> | |
auto | yaclib::WhenAny (It begin, std::size_t count) |
Create Future that is ready when any of futures is ready. | |
template<FailPolicy P = FailPolicy::LastFail, typename It , typename T = typename std::iterator_traits<It>::value_type> | |
YACLIB_INLINE auto | yaclib::WhenAny (It begin, It end) |
Create Future that is ready when any of futures is ready. | |
template<FailPolicy P = FailPolicy::LastFail, typename V , typename... E> | |
auto | yaclib::WhenAny (FutureBase< V, E > &&... futures) |
Create Future that is ready when any of futures is ready. | |