List of all members
blaze::ArrayDelete Struct Reference

Array-delete policy class.The ArrayDelete policy functor class applies an array delete operation to the given argument. Note that the array delete operation is NOT permitted for inclomplete types (i.e. declared but undefined data types). The attempt to apply an ArrayDelete functor to a pointer to an array of objects of incomplete type results in a compile time error! More...

#include <ArrayDelete.h>

Public Member Functions

Utility functions
template<typename Type >
void operator() (Type ptr) const
 Implementation of the array-delete policy. More...
 

Detailed Description

Array-delete policy class.

The ArrayDelete policy functor class applies an array delete operation to the given argument. Note that the array delete operation is NOT permitted for inclomplete types (i.e. declared but undefined data types). The attempt to apply an ArrayDelete functor to a pointer to an array of objects of incomplete type results in a compile time error!

Member Function Documentation

template<typename Type >
void blaze::ArrayDelete::operator() ( Type  ptr) const
inline

Implementation of the array-delete policy.

Parameters
ptrThe pointer to the array to be deleted.
Returns
void

This function applies an array delete operation to the given argument. Note that the array delete operation is NOT permitted for inclomplete types (i.e. declared but undefined data types). The attempt to use this function for a pointer to an array of objects of incomplete type results in a compile time error!


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