Classes
core/vbl/vbl_scoped_ptr.h File Reference

Scoped pointer lifted from BOOST. More...

#include <vcl_compiler.h>
#include <vbl/vbl_checked_delete.h>

Go to the source code of this file.

Classes

class  vbl_scoped_ptr< T >
 vbl_scoped_ptr mimics a built-in pointer except that it guarantees deletion of the object pointed to, either on destruction of the vbl_scoped_ptr or via an explicit reset(). More...

Detailed Description

Scoped pointer lifted from BOOST.

Author:
Amitha Perera (C) Copyright Greg Colvin and Beman Dawes 1998, 1999. Copyright (c) 2001, 2002 Peter Dimov

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.

http://www.boost.org/libs/smart_ptr/scoped_ptr.htm

Modified from the original boost sources to fit the VXL restrictions.

Definition in file vbl_scoped_ptr.h.