operator/ (STL)

连接两个 basic_path 对象的存储文件名称。

template<class String, class Traits>
   basic_path<String, Traits>
      operator/(const basic_path<String, Traits>& Left,
         const basic_path<String, Traits>& Right);

参数

  • Left
    basic_path 对象。

  • Right
    正确的 basic_path 对象。

返回值

包含串联字符串值的 basic_path 对象。

要求

标头: filesystem

命名空间: std::tr2::sys

请参见

参考

<filesystem>

basic_path::operator/= Operator

其他资源

C++ 标准库头文件