std::filesystem::path::clear

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

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

Parameters

(none).

Return value

(none).

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/filesystem/path/clear