Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::interprocess::remove_shared_memory_on_destroy Class Reference

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. More...

#include <shared_memory_object.hpp>

Public Member Functions

 remove_shared_memory_on_destroy (const char *name)
 
 ~remove_shared_memory_on_destroy ()
 

Detailed 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.

Constructor & Destructor Documentation

boost::interprocess::remove_shared_memory_on_destroy::remove_shared_memory_on_destroy ( const char *  name)
inline
boost::interprocess::remove_shared_memory_on_destroy::~remove_shared_memory_on_destroy ( )
inline

The documentation for this class was generated from the following file: