std::filesystem::path:: ~path

From cppreference.com
~path ( ) ;
(since C++17)

Destroys the path object.