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 develop branch, built from commit 2daa88693b.
PrevUpHomeNext
experimental::as_single_t::as_single_t (1 of 2 overloads)

Default constructor.

constexpr as_single_t(
    default_constructor_tag  = default_constructor_tag(),
    CompletionToken token = CompletionToken());

This constructor is only valid if the underlying completion token is default constructible and move constructible. The underlying completion token is itself defaulted as an argument to allow it to capture a source location.


PrevUpHomeNext