...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
to invoke the given handler.
template< typename LegacyCompletionHandler> DEDUCED dispatch( LegacyCompletionHandler && handler);
This function is used to ask the
to execute the given handler.
guarantees that the handler will only be called in a thread in which the
member functions is currently being invoked. The handler may be executed
inside this function if the guarantee can be met.
The handler to be called. The
will make a copy of the handler object as required. The function
signature of the handler must be:
This function throws an exception only if:
throws an exception.