#include <array.h>
Public Member Functions | |
sized_array (char *p, size_t n) | |
size_t | size () const |
T * | get () const |
T * | end () const |
T | 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. |
Like a fixed-size vector. Unlike array since the size can be dynamically determined.
Definition at line 25 of file array.h.