#include <xmltooling/unicode.h>
Public Member Functions | |
| auto_arrayptr (T *ptr) | |
| Constructor. | |
| ~auto_arrayptr () | |
| Destructor, uses array delete operation on wrapped pointer. | |
| const T * | get () const |
| Returns the wrapped pointer. | |
| T * | release () |
| Returns the wrapped pointer and transfers ownership of it to the caller. | |
| T | type of pointer to wrap |
| xmltooling::auto_arrayptr< T >::auto_arrayptr | ( | T * | ptr | ) | [inline] |
Constructor.
| ptr | pointer to wrap |
| const T* xmltooling::auto_arrayptr< T >::get | ( | ) | const [inline] |
Returns the wrapped pointer.
| T* xmltooling::auto_arrayptr< T >::release | ( | ) | [inline] |
Returns the wrapped pointer and transfers ownership of it to the caller.
1.4.7