std::experimental::filesystem::is_empty
Min standard notice:
Header: <experimental/filesystem>
Checks whether the given path refers to an empty file or directory.
# Declarations
bool is_empty( const path& p );
(filesystem TS)
bool is_empty( const path& p, error_code& ec );
(filesystem TS)
# Parameters
p: path to examineec: error code to modify in case of error
# Return value
true if p refers to an empty file or directory, false otherwise.