basic_path::replace_extension方法

替换存储的文件名的文件扩展名。

basic_path& replace_extension(
   const string_type& Newext = string_type()
);

参数

  • Newext
    新的文件扩展名。

要求

**标头:**文件系统

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

请参见

参考

basic_path选件类