asio C++ library

PrevUpHomeNext

posix::basic_descriptor::basic_descriptor

Construct a descriptor without opening it.

explicit basic_descriptor(
    const executor_type & ex);
  » more...

template<
    typename ExecutionContext>
explicit basic_descriptor(
    ExecutionContext & context,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint >  = defaulted_constraint());
  » more...

Construct a descriptor on an existing native descriptor.

basic_descriptor(
    const executor_type & ex,
    const native_handle_type & native_descriptor);
  » more...

template<
    typename ExecutionContext>
basic_descriptor(
    ExecutionContext & context,
    const native_handle_type & native_descriptor,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

Move-construct a descriptor from another.

basic_descriptor(
    basic_descriptor && other);
  » more...

Move-construct a posix::basic_descriptor from a descriptor of another executor type.

template<
    typename Executor1>
basic_descriptor(
    basic_descriptor< Executor1 > && other,
    constraint_t< is_convertible< Executor1, Executor >::value, defaulted_constraint >  = defaulted_constraint());
  » more...

PrevUpHomeNext