stlsoft/memory/auto_destructor.hpp File Reference


Detailed Description

[C++ only] Definition of the stlsoft::auto_destructor and stlsoft::auto_array_destructor class templates (Memory Library).

#include <stlsoft/stlsoft.h>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Classes

struct  move_proxy
 A simple proxy class that supports the movement of pointers between the various destructor classes. More...
class  auto_destructor
 This class acts as an automatic frame scope variable that manages heap-allocated object instances. More...
class  auto_array_destructor
 This class acts as an automatic frame scope variable that manages heap-allocated object arrays. More...
class  return_value_destructor
 This class acts as a return-value scope variable that manages heap-allocated object instances. More...
class  return_value_array_destructor
 This class acts as a return-value scope variable that manages heap-allocated object arrays. More...

Functions

template<typename T>
T * get_ptr (auto_destructor< T > const &ad)
template<typename T>
T * get_ptr (return_value_destructor< T > const &ad)
template<typename T>
T * get_ptr (auto_array_destructor< T > const &ad)
template<typename T>
T * get_ptr (return_value_array_destructor< T > const &ad)


Generated on Thu Jun 10 08:58:08 2010 for STLSoft by  doxygen 1.5.6