cpp/filesystem/exists

Checks if the given file status or path corresponds to an existing file or directory.

@1@ Equivalent to. @2@ Let be a  determined as if by  or  (symlinks are followed), respectively. Returns. The non-throwing overload calls if.

Return value
if the given path or file status corresponds to an existing file or directory, otherwise.

Exceptions
@2@

No filesystem exception is thrown if object does not exist (use return value).