Remove the file or directory at the specified path.
Synopsis
Declared in <bdls_filesystemutil.h>
template<class STRING_TYPE>
static
int
remove(
STRING_TYPE const& path,
bool recursiveFlag = false);
Description
Same as remove(const char *, bool), but accepts a STRING_TYPE path.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
path |
filesystem path of the file or directory to remove |
recursiveFlag |
whether to recursively remove directory contents |
Created with MrDocs