basic_path::operator/=运算符

追加一系列组件给存储的文件名。

basic_path& operator/=(
   const basic_path& Pval
);
basic_path& operator/=(
   const string_type& Str
);
basic_path& operator/=(
   const value_type *Ptr
);

参数

  • Pval
    basic_path 对象。

  • Str
    类型的字符串和存储的文件名相同。

  • Ptr
    对数组的指针字符。字符类型为存储的文件名的 value_type

返回值

在追加指定字符串后的*this。

要求

标头: 文件系统

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

请参见

参考

basic_path选件类

basic_string::value_type

<filesystem>