#include <array.h>
Public Member Functions | |
Array () | |
Array (size_t size) | |
Array (const T &val, size_t size) | |
Array (const Array< T > &a) | |
Array< T > & | operator= (const Array< T > &a) |
~Array () | |
T & | operator[] (size_t pos) |
const T & | operator[] (size_t pos) const |
size_t | size () const |
void | resize (size_t newSize, const T &val=T()) |
|
Create empty 1D array. |
|
Destructor |
|
Returns the number of elements in this array. |