NuDB Logo

PrevUpHomeNext

erase_file (2 of 2 overloads)

Erase a file without returnign an error.

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

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

Parameters

Name

Description

path

The path to the file to erase.

Template Parameters

Type

Description

File

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


PrevUpHomeNext