pointer_2d_alloc Class Template Reference

A simple class to provide an allocate() function for pointers. More...

#include <array.h>


Detailed Description

template<class base_t>
class pointer_2d_alloc< base_t >

A simple class to provide an allocate() function for pointers.

Uses new and delete.

Definition at line 151 of file array.h.


Public Member Functions

void allocate (base_t **&v, size_t i, size_t j)
 Allocate v for i elements.
void free (base_t **&v, size_t i)
 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.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page