Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Class remove_file_on_destroy
PrevUpHomeNext

Class remove_file_on_destroy

boost::interprocess::remove_file_on_destroy

Synopsis

Description

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 public construct/copy/destruct

  1. remove_file_on_destroy(const char * name);
  2. ~remove_file_on_destroy();

PrevUpHomeNext