Rosetta Utilities  2014.35
Namespaces | Functions
pointer.functions.hh File Reference

Pointer utility functions. More...

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.
 
 utility::pointer
 

Functions

template<typename T >
void utility::pointer::delete_and_assign (T *&p, T *n)
 Delete a pointer and assign a new pointer. More...
 
template<typename T >
void utility::pointer::delete_and_zero (T *&p)
 Delete a pointer and assign and set it to zero. More...
 
template<typename T >
void utility::pointer::delete_and_assign_array (T *&p, T *n)
 Delete a pointer to an array and assign a new pointer. More...
 
template<typename T >
void utility::pointer::delete_and_zero_array (T *&p)
 Delete a pointer to an array and set it to zero. More...
 

Detailed Description

Pointer utility functions.

Author
Stuart G. Mentzer (Stuar.nosp@m.t_Me.nosp@m.ntzer.nosp@m.@obj.nosp@m.exx.c.nosp@m.om)