std::experimental::filesystem::is_regular_file
Min standard notice:
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
s: file status to checkp: path to examineec: error code to store the error status to
# Return value
true if the given path or file status corresponds to a regular link, false otherwise.