An auto_ptr that uses array delete on its contents.
More...
#include <xmltooling/unicode.h>
|
| 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.
|
|
template<typename T>
class xmltooling::auto_arrayptr< T >
An auto_ptr that uses array delete on its contents.
- Parameters
-
◆ auto_arrayptr()
◆ get()
Returns the wrapped pointer.
- Returns
- the wrapped pointer
◆ release()
Returns the wrapped pointer and transfers ownership of it to the caller.
- Returns
- the wrapped pointer
The documentation for this class was generated from the following file: