std::filesystem::path::
clear
<
cpp
|
filesystem
|
path
void
clear
(
)
noexcept
;
(C++17 起)
清空存储的路径名。调用后
empty()
为
true
。
参数
(无)
返回值
(无)