commons::sized_array< T > Class Template Reference

A thin wrapper around arrays. More...

#include <array.h>

Collaboration diagram for commons::sized_array< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Friends

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


Detailed Description

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

A thin wrapper around arrays.

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

Definition at line 25 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