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 86319a8e16.
PrevUpHomeNext

io_context::strand::dispatch

Request the strand to invoke the given function object.

template<
    typename Function,
    typename Allocator>
void dispatch(
    Function && f,
    const Allocator & a) const;
  » more...

(Deprecated: Use dispatch.) Request the strand to invoke the given handler.

template<
    typename LegacyCompletionHandler>
auto dispatch(
    LegacyCompletionHandler && handler);
  » more...

PrevUpHomeNext