vrq
Classes | Functions
cobstack.h File Reference

Go to the source code of this file.

Classes

class  CObstack
 Bulk object allocation object. More...
 

Functions

template<class T >
T ** Finalize (CObstack *heap, vector< T * > &v)
 Transfer vector of pointers to a linear array allocated on the given obstack. More...
 

Function Documentation

template<class T >
T** Finalize ( CObstack heap,
vector< T * > &  v 
)
inline

Transfer vector of pointers to a linear array allocated on the given obstack.

Parameters
heappointer to obstack to allocate array in.
vvector of pointer to move.
Returns
pointer to array of pointers.