Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vbl_checked_delete.h File Reference


Detailed Description

Author:
Amitha Perera Checked delete function lifted from BOOST.

Definition in file vbl_checked_delete.h.

Go to the source code of this file.

Functions

template<class T>
void vbl_checked_delete (T *x)
 Checks that T is complete and deletes x.
template<class T>
void vbl_checked_delete_array (T *x)
 Checks that T is complete and array deletes x.


Function Documentation

template<class T>
void vbl_checked_delete T *  x  )  [inline]
 

Checks that T is complete and deletes x.

Not to be used on arrays!

Definition at line 30 of file vbl_checked_delete.h.

template<class T>
void vbl_checked_delete_array T *  x  )  [inline]
 

Checks that T is complete and array deletes x.

Definition at line 41 of file vbl_checked_delete.h.


Generated on Thu Jan 10 14:39:08 2008 for core/vbl by  doxygen 1.4.4