Add fs::file::set_delete

This commit is contained in:
Nekotekina 2019-04-07 23:55:38 +03:00
parent a54d9c527f
commit 0736fc8b28
3 changed files with 16 additions and 6 deletions

View file

@ -361,6 +361,11 @@ namespace fs
// Get native handle if available
native_handle get_handle() const;
#ifdef _WIN32
// Windows-specific function
bool set_delete(bool autodelete = true) const;
#endif
};
class dir final