API
4.2
For C++ developers
|
When an instance of this class is destructed, it removes (deletes) the file at the path provided in the constructor. More...
Public Member Functions | |
FileRemover (std::string filepath) | |
void | remove () const |
Remove the file at the path provided in the constructor. More... | |
~FileRemover () | |
This invokes remove(). More... | |
When an instance of this class is destructed, it removes (deletes) the file at the path provided in the constructor.
You can also manually cause removal of the file by invoking remove()
.
|
inline |
|
inline |
|
inline |
Remove the file at the path provided in the constructor.