NuDB Logo

PrevUpHomeNext

erase_file (2 of 2 overloads)

Erase a file without returnign an error.

template<
    class File = native_file>
void
erase_file(
    path_type const& path);

This function attempts to erase the specified file. Any errors are ignored, including if the file does not exist.

Parameters

path

The path to the file to erase.

File

A type meeting the requirements of File. If this type is unspecified, native_file is used.


PrevUpHomeNext