5#include <yaclib/config.hpp>
29template <
typename Event = detail::DefaultEvent,
typename It>
30YACLIB_INLINE std::enable_if_t<is_waitable_v<typename std::iterator_traits<It>::reference>,
void>
Wait(
43template <
typename Event = detail::DefaultEvent,
typename It>
44YACLIB_INLINE std::enable_if_t<is_waitable_v<typename std::iterator_traits<It>::reference>,
void>
Wait(
45 It begin, std::size_t count)
noexcept {
#define YACLIB_ASSERT(cond)
Contract< V, E > MakeContract()
Creates related future and promise.
YACLIB_INLINE std::enable_if_t<(... &&is_waitable_v< Waited >), void > Wait(Waited &... fs) noexcept
Wait until Ready becomes true.