array_2d_alloc Class Template Reference

#include <array.h>


Detailed Description

template<class vec_t>
class array_2d_alloc< vec_t >

A simple class to provide an allocate() function for 2-dimensional arrays.

The functions here are blank, as fixed-length arrays are automatically allocated and destroyed by the compiler. This class is present to provide a consistent analog to pointer_alloc and ovector_alloc

Definition at line 92 of file array.h.


Public Member Functions

void allocate (vec_t &v, int i, int j)
 Allocate v for i elements.
void free (vec_t &v)
 Free memory.

The documentation for this class was generated from the following file:
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.