std::filesystem::path::clear
From cppreference.com
< cpp | filesystem | path
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
std::filesystem::path
path::clear
(until C++20)(until C++20)(until C++20)(until C++20)(until C++20)(C++20)
void clear() noexcept;
(since C++17)
Clears the stored pathname. empty() is true after the call.
[edit] Parameters
(none)
[edit] Return value
(none)