commons::array< T > Class Template Reference

A thin wrapper around arrays. More...

#include <array.h>

Collaboration diagram for commons::array< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 array (size_t n)
size_t size () const
T * get () const
T * release ()
T * end () const
operator[] (size_t i) const
void reset (T *p, size_t n)

Friends

void swap (array< T > &a, array< T > &b)
 Swap two arrays.


Detailed Description

template<typename T>
class commons::array< T >

A thin wrapper around arrays.

Like a fixed-size vector. Unlike array since the size can be dynamically determined.

Definition at line 45 of file array.h.


The documentation for this class was generated from the following file:

Generated on Mon Mar 2 22:13:23 2009 for C++ Commons by  doxygen 1.5.6