Boost C++ Libraries 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.
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.