名稱空間
變體
操作

std::filesystem::path::clear

來自 cppreference.com
< cpp‎ | filesystem‎ | path
 
 
 
 
void clear() noexcept;
(C++17 起)

清除儲存的路徑名。呼叫後 empty()true

[編輯] 引數

(無)

[編輯] 返回值

(無)