/*********************************************************************
template example - driver.cpp
    basic safearray use
*********************************************************************/
#include <iostream>
using namespace std;

#include "safearray.h"

void main() {
    safearray<int> list;

    for (int i = 0; i < list.maxsize; i++)
        list[i] = i*10;

    for (int j = 0; j < safearray<int>::maxsize; j++)
        cout << "Element " << j << " is " << list[j] << endl;
}