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

Method basic_stream_file

include/boost/asio/basic_stream_file.hpp:93–98  ·  view source on GitHub ↗

Construct a basic_stream_file without opening it. * This constructor initialises a file without opening it. The file needs to * be opened before data can be read from or or written to it. * * @param ex The I/O executor that the file will use, by default, to * dispatch handlers for any asynchronous operations performed on the file. */

Source from the content-addressed store, hash-verified

91 * dispatch handlers for any asynchronous operations performed on the file.
92 */
93 explicit basic_stream_file(const executor_type& ex)
94 : basic_file<Executor>(ex)
95 {
96 this->impl_.get_service().set_is_stream(
97 this->impl_.get_implementation(), true);
98 }
99
100 /// Construct a basic_stream_file without opening it.
101 /**

Callers

nothing calls this directly

Calls 4

throw_errorFunction · 0.85
set_is_streamMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected