asio C++ library

PrevUpHomeNext

basic_stream_file::basic_stream_file

Construct a basic_stream_file without opening it.

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

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

Construct and open a basic_stream_file.

basic_stream_file(
    const executor_type & ex,
    const char * path,
    file_base::flags open_flags);
  » more...

template<
    typename ExecutionContext>
basic_stream_file(
    ExecutionContext & context,
    const char * path,
    file_base::flags open_flags,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint >::type  = defaulted_constraint());
  » more...

basic_stream_file(
    const executor_type & ex,
    const std::string & path,
    file_base::flags open_flags);
  » more...

template<
    typename ExecutionContext>
basic_stream_file(
    ExecutionContext & context,
    const std::string & path,
    file_base::flags open_flags,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint >::type  = defaulted_constraint());
  » more...

Construct a basic_stream_file on an existing native file.

basic_stream_file(
    const executor_type & ex,
    const native_handle_type & native_file);
  » more...

template<
    typename ExecutionContext>
basic_stream_file(
    ExecutionContext & context,
    const native_handle_type & native_file,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint >::type  = defaulted_constraint());
  » more...

Move-construct a basic_stream_file from another.

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

Move-construct a basic_stream_file from a file of another executor type.

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

PrevUpHomeNext