次の方法で共有


basic_path::replace_extension メソッド

格納されているファイル名の拡張子を置き換えます。

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

パラメーター

  • Newext
    新しいファイル名拡張子。

必要条件

ヘッダー: filesystem

名前空間: std::tr2::sys

参照

関連項目

basic_path クラス