![]() |
Rosetta Utilities
2015.02
|
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... | |
Pointer utility functions.