std::filesystem::is_empty
From cppreference.com
< cpp | filesystem
Defined in header <filesystem>
|
||
bool is_empty( const std::filesystem::path& p ); |
(1) | (since C++17) |
bool is_empty( const std::filesystem::path& p, std::error_code& ec ); |
(2) | (since C++17) |
Checks whether the given path refers to an empty file or directory.
Contents |