std::filesystem::path::~path

From cppreference.com
< cpp‎ | filesystem‎ | path
~path();
(since C++17)

Destroys the path object.