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. |
boost/checked_delete.hpp
Copyright (c) 1999, 2000, 2001, 2002 boost.org Copyright (c) 2002, 2003 Peter Dimov Copyright (c) 2003 Daniel Frey Copyright (c) 2003 Howard Hinnant
Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.
See http://www.boost.org/libs/utility/checked_delete.html for documentation.
Modified from the original boost sources to fit the VXL restrictions.
Definition in file vbl_checked_delete.h.
void vbl_checked_delete | ( | T * | x | ) | [inline] |
Checks that T is complete and deletes x.
Not to be used on arrays!
Definition at line 28 of file vbl_checked_delete.h.
void vbl_checked_delete_array | ( | T * | x | ) | [inline] |
Checks that T is complete and array deletes x.
Definition at line 39 of file vbl_checked_delete.h.