return_value_array_destructor Class Template Reference
[Memory Library]

#include <stlsoft/memory/auto_destructor.hpp>

List of all members.


Detailed Description

template<typename T>
class stlsoft::return_value_array_destructor< T >

This class acts as a return-value scope variable that manages heap-allocated object arrays.

Parameters:
T The value type
See also:
stlsoft::auto_array_destructor

Types

typedef T value_type
 The value type.
typedef
return_value_array_destructor
< T > 
class_type
 The current parameterisation of the type.
typedef auto_array_destructor< T > auto_type
 The auto type.

Public Member Functions

Construction
 return_value_array_destructor (auto_type &rhs)
 Constructs from an auto_array_destructor<T> instance, transferring the managed array from it.
 return_value_array_destructor (class_type &rhs)
 Move constructor.
 return_value_array_destructor (proxy_type rhs)
 Proxy move constructor.
 ~return_value_array_destructor () throw ()
 Destroys the managed array.
 operator proxy_type ()
 Proxy conversion operator.

Member Typedef Documentation

typedef T value_type

The value type.

The current parameterisation of the type.

The auto type.


Constructor & Destructor Documentation

return_value_array_destructor ( auto_type rhs  )  [inline]

Constructs from an auto_array_destructor<T> instance, transferring the managed array from it.

return_value_array_destructor ( class_type rhs  )  [inline]

Move constructor.

return_value_array_destructor ( proxy_type  rhs  )  [inline]

Proxy move constructor.

~return_value_array_destructor (  )  throw () [inline]

Destroys the managed array.

References STLSOFT_ASSERT, and STLSOFT_MESSAGE_ASSERT.


Member Function Documentation

operator proxy_type (  )  [inline]

Proxy conversion operator.


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

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