YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
await.hpp File Reference
Include dependency graph for await.hpp:

Go to the source code of this file.

Namespaces

namespace  yaclib
 

Functions

template<typename V , typename E >
YACLIB_INLINE auto yaclib::Await (Task< V, E > &task) noexcept
 
template<typename Waited , typename = std::enable_if_t<is_waitable_v<Waited>>>
YACLIB_INLINE auto yaclib::Await (Waited &waited) noexcept
 
template<typename... Waited, typename = std::enable_if_t<(... && is_waitable_v<Waited>)>>
YACLIB_INLINE auto yaclib::Await (Waited &... waited) noexcept
 
template<typename Iterator , typename Value = typename std::iterator_traits<Iterator>::value_type, typename = std::enable_if_t<is_waitable_v<Value>>>
YACLIB_INLINE auto yaclib::Await (Iterator begin, std::size_t count) noexcept
 
template<typename Iterator , typename = std::enable_if_t<is_waitable_v<typename std::iterator_traits<Iterator>::value_type>>>
YACLIB_INLINE auto yaclib::Await (Iterator begin, Iterator end) noexcept
 
template<typename V , typename E >
YACLIB_INLINE auto yaclib::operator co_await (FutureBase< V, E > &&future) noexcept
 
template<typename V , typename E >
YACLIB_INLINE auto yaclib::operator co_await (const SharedFutureBase< V, E > &future) noexcept
 
template<typename V , typename E >
YACLIB_INLINE auto yaclib::operator co_await (Task< V, E > &&task) noexcept