Namespaces
Variants

std::filesystem::file_status:: type

From cppreference.net
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) (无)

示例