asio C++ library

PrevUpHomeNext

experimental::awaitable_operators::operator||

Wait for one operation to succeed.

template<
    typename Executor>
awaitable< std::variant< std::monostate, std::monostate >, Executor > operator||(
    awaitable< void, Executor > t,
    awaitable< void, Executor > u);
  » more...

template<
    typename U,
    typename Executor>
awaitable< std::variant< std::monostate, U >, Executor > operator||(
    awaitable< void, Executor > t,
    awaitable< U, Executor > u);
  » more...

template<
    typename T,
    typename Executor>
awaitable< std::variant< T, std::monostate >, Executor > operator||(
    awaitable< T, Executor > t,
    awaitable< void, Executor > u);
  » more...

template<
    typename T,
    typename U,
    typename Executor>
awaitable< std::variant< T, U >, Executor > operator||(
    awaitable< T, Executor > t,
    awaitable< U, Executor > u);
  » more...

template<
    typename... T,
    typename Executor>
awaitable< std::variant< T..., std::monostate >, Executor > operator||(
    awaitable< std::variant< T... >, Executor > t,
    awaitable< void, Executor > u);
  » more...

template<
    typename... T,
    typename U,
    typename Executor>
awaitable< std::variant< T..., U >, Executor > operator||(
    awaitable< std::variant< T... >, Executor > t,
    awaitable< U, Executor > u);
  » more...
Requirements

Header: asio/experimental/awaitable_operators.hpp

Convenience header: None


PrevUpHomeNext