cpp/filesystem/is regular file

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

@1@ Equivalent to.

@2@ Equivalent to or  respectively.

Return value
if the file indicated by or if the type indicated by  refers to a regular file,  otherwise. The non-throwing overload returns if an error occurs.

Exceptions
@2@