std::experimental::filesystem::is_regular_file

Header: <experimental/filesystem>

Checks if the given file status or path corresponds to a regular file.

# Declarations

bool is_regular_file( file_status s );

(filesystem TS)

bool is_regular_file( const path& p );

(filesystem TS)

bool is_regular_file( const path& p, error_code& ec );

(filesystem TS)

# Parameters

# Return value

true if the given path or file status corresponds to a regular link, false otherwise.