Return true if a file or directory currently exists at path.

Synopses

Declared in <bdls_filesystemutil.h>

Return true if a file or directory currently exists at path.

static
bool
exists(char const* path);

Return true if a file or directory currently exists at path.

template<class STRING_TYPE>
static
bool
exists(STRING_TYPE const& path);

Return Value

true if a file or directory exists at path, and false otherwise

Parameters

Name

Description

path

filesystem path to test

Created with MrDocs