std::filesystem::path::clear
来自cppreference.com
< cpp | filesystem | path
文件系统库
类 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
函数 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
文件类型 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::filesystem::path
常量 | |||||||||||||||||||||
成员函数 | |||||||||||||||||||||
|
|||||||||||||||||||||
路径分解 | |||||||||||||||||||||
非成员函数 | |||||||||||||||||||||
|
|||||||||||||||||||||
辅助类 | |||||||||||||||||||||
void
clear()
noexcept;
|
(C++17 起) | |
清空存储的路径名。调用后 empty() 为 true 。
参数
(无)
返回值
(无)