std::filesystem::path::clear

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

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

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Exceptions

noexcept specification:  
noexcept