Scroll to navigation

std::filesystem::path::clear(3) C++ Standard Libary std::filesystem::path::clear(3)

NAME

std::filesystem::path::clear - std::filesystem::path::clear

Synopsis

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

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

Parameters

(none)

Return value

(none)

2026.11.10 http://cppreference.com