不打开文件来构造一个 basic_file。
explicit basic_file( const executor_type & ex); » more... template< typename ExecutionContext> explicit basic_file( ExecutionContext & context, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint > = defaulted_constraint()); » more...
构造并打开一个 basic_file。
explicit basic_file( const executor_type & ex, const char * path, file_base::flags open_flags); » more... template< typename ExecutionContext> explicit basic_file( ExecutionContext & context, const char * path, file_base::flags open_flags, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint > = defaulted_constraint()); » more... explicit basic_file( const executor_type & ex, const std::string & path, file_base::flags open_flags); » more... template< typename ExecutionContext> explicit basic_file( ExecutionContext & context, const std::string & path, file_base::flags open_flags, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint > = defaulted_constraint()); » more...
在现有的原生文件句柄上构造一个 basic_file。
basic_file( const executor_type & ex, const native_handle_type & native_file); » more...
在现有的原生文件上构造一个 basic_file。
template< typename ExecutionContext> basic_file( ExecutionContext & context, const native_handle_type & native_file, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint > = defaulted_constraint()); » more...
从另一个 basic_file 移动构造一个。
basic_file( basic_file && other); » more...
从另一个执行器类型的 basic_file 移动构造一个。
template< typename Executor1> basic_file( basic_file< Executor1 > && other, constraint_t< is_convertible< Executor1, Executor >::value, defaulted_constraint > = defaulted_constraint()); » more...