boost::interprocess::remove_file_on_destroy
class remove_file_on_destroy { public: // construct/copy/destruct remove_file_on_destroy(const char *); ~remove_file_on_destroy(); };
A class that stores the name of a a file and call std::remove(name) in its destructor Useful to remove temporary files in the presence of exceptions
remove_file_on_destroy
remove_file_on_destroy(const char * name);
~remove_file_on_destroy();