Referencestdfilesystempathreplace_extension member function std::filesystem::path::replace_extension Header<filesystem>Draft[fs.class.path.general]Scopestd::filesystem::pathcppreferencestd::filesystem::path::replace_extension ↗ Synopsis path& replace_extension(const path& replacement = path());