std::filesystem::operator/(std::filesystem::path)

来自cppreference.com
< cpp‎ | filesystem‎ | path
 
 
 
 
定义于头文件 <filesystem>
path operator/( const path& lhs, const path& rhs );
(C++17 起)

若适合(细节见 operator/= ),则以偏好目录分隔符连接二个路径组分。

等效于返回 path(lhs) /= rhs

目录

[编辑] 参数

lhs, rhs - 要连接的路径

[编辑] 返回值

路径连接的结果。

[编辑] 示例

[编辑] 参阅

添加元素到带目录分隔符的路径
(公开成员函数) [编辑]