Skip to content

asio::executor_binder

詳細情報

メンバー

executor_binder()

Construct an executor wrapper for the specified object.

This constructor is only valid if the type is constructible from type .

asio::executor_binder< T, Executor >::executor_binder(executor_arg_t, const executor_type &e, ASIO_MOVE_ARG(U) u)

引数

  • executor_arg_t ``
  • const& e
  • ASIO_MOVE_ARG(U) u

executor_binder()

Copy constructor.

asio::executor_binder< T, Executor >::executor_binder(const executor_binder &other)

引数

  • const& other

executor_binder()

Construct a copy, but specify a different executor.

asio::executor_binder< T, Executor >::executor_binder(executor_arg_t, const executor_type &e, const executor_binder &other)

引数

  • executor_arg_t ``
  • const& e
  • const& other

executor_binder()

Construct a copy of a different executor wrapper type.

This constructor is only valid if the type is constructible from type , and the type is constructible from type .

asio::executor_binder< T, Executor >::executor_binder(const executor_binder< U, OtherExecutor > &other)

引数

  • const< U, OtherExecutor > & other

executor_binder()

Construct a copy of a different executor wrapper type, but specify a different executor. This constructor is only valid if the type is constructible from type .

asio::executor_binder< T, Executor >::executor_binder(executor_arg_t, const executor_type &e, const executor_binder< U, OtherExecutor > &other)

引数

  • executor_arg_t ``
  • const& e
  • const< U, OtherExecutor > & other

~executor_binder()

Destructor.

asio::executor_binder< T, Executor >::~executor_binder()

get()

Obtain a reference to the target object.

target_type& asio::executor_binder< T, Executor >::get() ASIO_NOEXCEPT

戻り値

target_type&

get()

Obtain a reference to the target object.

const target_type& asio::executor_binder< T, Executor >::get() const ASIO_NOEXCEPT

戻り値

const&

get_executor()

Obtain the associated executor.

executor_type asio::executor_binder< T, Executor >::get_executor() const ASIO_NOEXCEPT

戻り値

executor_type

operator()()

result_type_or_void asio::executor_binder< T, Executor >::operator()()

戻り値

result_type_or_void

operator()()

result_type_or_void asio::executor_binder< T, Executor >::operator()() const

戻り値

result_type_or_void