// smarray.cpp (UNFINISHED)
// Glenn G. Chappell
// VERSION 3
// 30 Oct 2009
//
// For CS 311 Fall 2009
// Source for class SmArray
// Smart array class

#include "smarray.h"  // Header correponding to this source file


// ************************************************************************
// class SmArray - Member function definitions
// ************************************************************************


// Copy assignment
// Pre:
// Post:
// ??? Guarantee
SmArray & SmArray::operator=(const SmArray & rhs)
{
    // WRITE THIS!!!
    return *this;
}


// resize
// Pre:
// Post:
// ??? Guarantee
void SmArray::resize(SmArray::size_type newSize)
{
    // WRITE THIS!!!
}


// insert
// Pre:
// Post:
// ??? Guarantee
SmArray::iterator SmArray::insert(SmArray::iterator pos,
                                  const SmArray::value_type & item)
{
    // WRITE THIS!!!
    return begin();  // Dummy line, so it will compile
}


// remove
// Pre:
// Post:
// ??? Guarantee
SmArray::iterator SmArray::remove(SmArray::iterator pos)
{
    // WRITE THIS!!!
    return begin();  // Dummy line, so it will compile
}


// swap
// Pre:
// Post:
// ??? Guarantee
void SmArray::swap(SmArray & other)
{
    // WRITE THIS!!!
}

