vrq
Classes | Functions

/net/fileserver/nas/home/mdh/vrq/src/cobstack.h File Reference

Go to the source code of this file.

Classes

class  CObstack
 Bulk object allocation object. More...
struct  CObstack::obstackChunk_tag
 obstack chunk definition

Functions

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

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:
heap pointer to obstack to allocate array in.
v vector of pointer to move.
Returns:
pointer to array of pointers.