다음을 통해 공유


basic_path::replace_extension Method

Replaces the file name extension of the stored file name.

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

Parameters

  • Newext
    The new file name extension.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_path Class