std::filesystem::path::clear - cppreference.com (original) (raw)

| void clear() noexcept; | | (since C++17) | | ---------------------- | | ------------- |

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

[edit] Parameters

(none)

[edit] Return value

(none)