MCPcopy Create free account
hub / github.com/cinder/Cinder / bind_executor

Function bind_executor

include/asio/bind_executor.hpp:489–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487/// Associate an object of type @c T with an executor of type @c Executor.
488template <typename Executor, typename T>
489inline executor_binder<typename decay<T>::type, Executor>
490bind_executor(const Executor& ex, ASIO_MOVE_ARG(T) t,
491 typename enable_if<
492 is_executor<Executor>::value || execution::is_executor<Executor>::value
493 >::type* = 0)
494{
495 return executor_binder<typename decay<T>::type, Executor>(
496 executor_arg_t(), ex, ASIO_MOVE_CAST(T)(t));
497}
498
499/// Associate an object of type @c T with an execution context's executor.
500template <typename ExecutionContext, typename T>

Callers 1

spawn.hppFile · 0.85

Calls 2

executor_arg_tClass · 0.85
get_executorMethod · 0.45

Tested by

no test coverage detected