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_shared_memory_on_destroy
PrevUpHomeNext

Class remove_shared_memory_on_destroy

boost::interprocess::remove_shared_memory_on_destroy

Synopsis

Description

A class that stores the name of a shared memory and calls shared_memory_object::remove(name) in its destructor Useful to remove temporary shared memory objects in the presence of exceptions

remove_shared_memory_on_destroy public construct/copy/destruct

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

PrevUpHomeNext