Namespaces
Variants

std::filesystem::path::clear

From cppreference.com
 
 
 
std::filesystem::path
 
void clear() noexcept;
(since C++17)

Clears the stored pathname. empty() is true after the call.