MADNESS  version 0.9
Public Types | Public Member Functions | List of all members
madness::detail::CheckedFree< T > Struct Template Reference

Deleter to free memory for a shared_ptr using free() More...

#include <boost_checked_delete_bits.h>

Public Types

typedef void result_type
 
typedef T * argument_type
 

Public Member Functions

void operator() (T *p) const
 

Detailed Description

template<typename T>
struct madness::detail::CheckedFree< T >

Deleter to free memory for a shared_ptr using free()

Checks the pointer to make sure it is a complete type, you will get a compiler error if it is not.

Member Typedef Documentation

template<typename T >
typedef T* madness::detail::CheckedFree< T >::argument_type
template<typename T >
typedef void madness::detail::CheckedFree< T >::result_type

Member Function Documentation

template<typename T >
void madness::detail::CheckedFree< T >::operator() ( T *  p) const
inline

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