Honeycomb  0.1
Component-Model Framework
Public Member Functions | Public Attributes | List of all members
honey::finalize< T, Alloc > Struct Template Reference

Functor to delete a pointer. More...

#include <Allocator.h>

Collaboration diagram for honey::finalize< T, Alloc >:
Collaboration graph
[legend]

Public Member Functions

 finalize (Alloc a=Alloc())
 
void operator() (T *&p)
 
void operator() (T *const &p)
 

Public Attributes

Alloc a
 

Detailed Description

template<class T, class Alloc = typename DefaultAllocator<T>::type>
struct honey::finalize< T, Alloc >

Functor to delete a pointer.

Constructor & Destructor Documentation

template<class T, class Alloc = typename DefaultAllocator<T>::type>
honey::finalize< T, Alloc >::finalize ( Alloc  a = Alloc())
inline

Member Function Documentation

template<class T, class Alloc = typename DefaultAllocator<T>::type>
void honey::finalize< T, Alloc >::operator() ( T *&  p)
inline
template<class T, class Alloc = typename DefaultAllocator<T>::type>
void honey::finalize< T, Alloc >::operator() ( T *const &  p)
inline

Member Data Documentation

template<class T, class Alloc = typename DefaultAllocator<T>::type>
Alloc honey::finalize< T, Alloc >::a

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