shell_allocator Class Template Reference
[Memory Library]

#include <winstl/memory/shell_allocator.hpp>

List of all members.


Detailed Description

template<typename T>
class winstl::shell_allocator< T >

STL Allocator based on the Win32 shell allocator.

Parameters:
T The value_type of the allocator

Public Types

typedef shell_allocator< T > class_type
 The parameterisation of the class.
typedef
parent_class_type::value_type 
value_type
 The value type.
typedef parent_class_type::pointer pointer
 The pointer type.
typedef
parent_class_type::const_pointer 
const_pointer
 The non-mutating (const) pointer type.
typedef
parent_class_type::reference 
reference
 The reference type.
typedef
parent_class_type::const_reference 
const_reference
 The non-mutating (const) reference type.
typedef
parent_class_type::difference_type 
difference_type
 The difference type.
typedef
parent_class_type::size_type 
size_type
 The size type.

Public Member Functions

Construction
 shell_allocator () throw ( std:: runtime_error )
 Default constructor.
 shell_allocator (class_type const &rhs) throw ()
 Copy constructor.
 ~shell_allocator () throw ()
 Destructor.
class_type const & operator= (class_type const &rhs)
 Copy assignment operator.

Member Typedef Documentation

The parameterisation of the class.

typedef parent_class_type::value_type value_type

The value type.

typedef parent_class_type::pointer pointer

The pointer type.

typedef parent_class_type::const_pointer const_pointer

The non-mutating (const) pointer type.

typedef parent_class_type::reference reference

The reference type.

typedef parent_class_type::const_reference const_reference

The non-mutating (const) reference type.

typedef parent_class_type::difference_type difference_type

The difference type.

typedef parent_class_type::size_type size_type

The size type.


Constructor & Destructor Documentation

shell_allocator (  )  throw ( std:: runtime_error ) [inline]

Default constructor.

shell_allocator ( class_type const &  rhs  )  throw () [inline]

Copy constructor.

~shell_allocator (  )  throw () [inline]

Destructor.


Member Function Documentation

class_type const& operator= ( class_type const &  rhs  )  [inline]

Copy assignment operator.

Note:
This has to be provided, to avoid precipitating C4217 with Visual C++


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

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