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 a snapshot of the master branch, built from commit a2b80500d6.
PrevUpHomeNext

experimental::awaitable_operators::operator&& (1 of 6 overloads)

Wait for both operations to succeed.

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

If one operations fails, the other is cancelled as the AND-condition can no longer be satisfied.


PrevUpHomeNext