Referencestdfilesystempathclear member function std::filesystem::path::clear Header<filesystem>Draft[fs.class.path.general]Scopestd::filesystem::pathcppreferencestd::filesystem::path::clear ↗ Synopsis void clear() noexcept;