Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

experimental::awaitable_operators::operator &&

Wait for both operations to succeed.

template<
    typename Executor>
awaitable< void, Executor > operator &&(
    awaitable< void, Executor > t,
    awaitable< void, Executor > u);
  » more...

template<
    typename U,
    typename Executor>
awaitable< U, Executor > operator &&(
    awaitable< void, Executor > t,
    awaitable< U, Executor > u);
  » more...

template<
    typename T,
    typename Executor>
awaitable< T, Executor > operator &&(
    awaitable< T, Executor > t,
    awaitable< void, Executor > u);
  » more...

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

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

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

Header: boost/asio/experimental/awaitable_operators.hpp

Convenience header: None


PrevUpHomeNext