18 for (
int i = 0;
i < _size;
i++ )
51 _size = _max - _min + 1;
73 for (
int i = 0;
i < _size;
i++ )
87 ASSERT(
i >= _min &&
i <= _max,
"warning: array size mismatch." );
143 os <<
"( " << data[0];
144 for (
int i = 1;
i < _size;
i++ )
145 os <<
", " << data[
i];
#define ASSERT(expression, message)
Array< T > & operator=(const Array< T > &)
T & operator[](int i) const
void print(OSTREAM &) const
static int min(int a, int b)
static int max(int a, int b)
OSTREAM & operator<<(OSTREAM &os, const Array< T > &a)