std::experimental::filesystem::is_empty

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

# Return value

true if p refers to an empty file or directory, false otherwise.