std::filesystem::path::clear

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

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

Parameters

(none)

Return value

(none)