std::experimental::filesystem::directory_entry:: replace_filename
From cppreference.net
<
cpp
|
experimental
|
fs
|
directory entry
C++
Filesystem library
| Classes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| File types | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
void
replace_filename
(
const
path
&
p
)
;
|
(文件系统 TS) | |
更改目录项的文件名。
将路径有效设置为 path ( ) . parent_path ( ) / p 。
此函数不会向文件系统提交任何更改。
目录 |
参数
| p | - | 要追加到当前存储路径的父路径的路径 |
返回值
(无)
异常
| 本节内容尚不完整 |
参见
| 本节内容尚不完整 |