...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Construct a basic_file
on an existing native
file handle.
basic_file( const executor_type & ex, const native_handle_type & native_file);
This constructor initialises a file object to hold an existing native file.
The I/O executor that the file will use, by default, to dispatch handlers for any asynchronous operations performed on the file.
A native file handle.
Thrown on failure.