W3cubDocs

/C++

std::filesystem::path::clear

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

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

Parameters

(none).

Return value

(none).

Exceptions

noexcept specification:
noexcept

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