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
Replaces the file name extension of the stored file name.
basic_path& replace_extension(
   const string_type& Newext = string_type()
);
Header: filesystem
Namespace: std::tr2::sys