名稱空間
變體
操作

std::filesystem::file_status::type

來自 cppreference.com
 
 
 
 
std::filesystem::file_type type() const noexcept;
(1) (C++17 起)
void type( std::filesystem::file_type type ) noexcept;
(2) (C++17 起)

訪問檔案型別資訊。

1) 返回檔案型別資訊。
2) 將檔案型別設定為 type

[編輯] 引數

型別 - 要設定的檔案型別

[編輯] 返回值

1) 檔案型別資訊。
2) (無)

[編輯] 示例