std::filesystem::file_status::type

std::filesystem::file_type type() const noexcept;
(1) (C++17 起)
void type( std::filesystem::file_type type ) noexcept;
(2) (C++17 起)

访问文件类型信息。

1) 返回文件类型信息。
2) 设置文件类型信息为 type

参数

type - 要设置的文件类型

返回值

1) 文件类型信息。
2) (无)

示例

版本历史

  • (当前 | 先前 2017年9月29日 (五) 09:12Fruderica讨论 | 贡献 . . (575字节) (-24). . (merge noexcept) (撤销)
  • 当前 | 先前) 2017年4月30日 (日) 09:51Fruderica讨论 | 贡献. . (599字节) (+599). . (以“{{cpp/filesystem/file_status/title|type}} {{cpp/filesystem/file_status/navbar}} {{dcl begin}} {{dcl | since=c++17 | num=1 | 1= std::filesystem::file_type type() con...”为内容创建页面)