void open( file_mode mode, path_type const& path, error_code& ec);
The file must not already be open.
The open mode, which must be a valid file_mode
.
The path of the file to open.
Set to the error, if any occurred.