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