MCPcopy Create free account
hub / github.com/boostorg/asio / dispatch

Function dispatch

include/boost/asio/inline_or_executor.hpp:438–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436 */
437 template <typename Function, typename Allocator>
438 void dispatch(Function&& f, const Allocator& a) const
439 {
440 (void)a;
441 detail::non_const_lvalue<Function> f2(f);
442 static_cast<decay_t<Function>&&>(f2.value)();
443 }
444
445 /// Request the inline_or_executor to invoke the given function object.
446 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected