命名空间
变体
操作

std::filesystem::path::clear

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

清除存储的路径名。调用后 empty()true

[编辑] 参数

(无)

[编辑] 返回值

(无)