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