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 to view this page for the latest version.
PrevUpHomeNext

experimental::wait_for_one_success

Wait until an operation completes without an error, then cancel the others.

class wait_for_one_success
Member Functions

Name

Description

operator()

wait_for_one_success [constructor]

If no operation completes without an error, waits for completion of all operations.

Requirements

Header: boost/asio/experimental/cancellation_condition.hpp

Convenience header: None


PrevUpHomeNext