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

redirect_disposition (2 of 2 overloads)
PrevUpHomeNext

Adapt a completion token to capture disposition values to a variable.

template<
    typename CompletionToken,
    typename Disposition>
redirect_disposition_t< decay_t< CompletionToken >, Disposition > redirect_disposition(
    CompletionToken && completion_token,
    Disposition & d);
Remarks

When redirecting to a variable of type std::exception_ptr, other disposition types will be automatically converted to std::exception_ptr.


PrevUpHomeNext