Public Member Functions

util::delete_array Struct Reference

A helper policy for scoped_array. More...

#include <scoped_resource.hpp>

List of all members.

Public Member Functions

template<typename T >
void operator() (T *&p) const

Detailed Description

A helper policy for scoped_array.

It will call the delete[] operator on a pointer, and assign the pointer to NULL

Definition at line 131 of file scoped_resource.hpp.


Member Function Documentation

template<typename T >
void util::delete_array::operator() ( T *&  p  )  const [inline]

Definition at line 133 of file scoped_resource.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:25:46 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs