std::filesystem::path::empty (3) Linux Manual Page
std::filesystem::path::empty – std::filesystem::path::empty Synopsis bool empty() const noexcept; (since C++17) (until C++20) [[nodiscard]] bool empty() const noexcept; (since C++20) Checks if the path in generic format is empty. Parameters (none) Return value true if the path is empty, false otherwise. Notes An empty path can be obtained by calling clear and by default-constructing a path….
