|
OXY API 1.0
OXY API Library Documentation
|
Custom deleter for std::filesystem::path that removes the file or directory when the unique_ptr goes out of scope. More...
#include <tmpfile.hpp>
Public Member Functions | |
| void | operator() (std::filesystem::path *path) const noexcept |
| Deletes the path and removes the file or directory if it exists. | |
Custom deleter for std::filesystem::path that removes the file or directory when the unique_ptr goes out of scope.
|
inlinenoexcept |
Deletes the path and removes the file or directory if it exists.
| path | Pointer to the std::filesystem::path to be deleted. |