Rosetta 3.3
Namespaces | Functions
src/utility/pointer/pointer.functions.hh File Reference

Pointer utility functions. More...

Namespaces

namespace  utility
 

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


namespace  utility::pointer

Functions

template<typename T >
void utility::pointer::delete_and_assign (T *&p, T *n)
 Delete a pointer and assign a new pointer.
template<typename T >
void utility::pointer::delete_and_zero (T *&p)
 Delete a pointer and assign and set it to zero.
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.
template<typename T >
void utility::pointer::delete_and_zero_array (T *&p)
 Delete a pointer to an array and set it to zero.

Detailed Description

Pointer utility functions.

Author:
Stuart G. Mentzer (Stuart_Mentzer@objexx.com)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines