//  (C) Porkolab 2003
//
//  A.6.3.
//  Element access


template <class T, class A = allocator<T> > class vector {
public:
    // ...
    // element access:

    reference operator[](size_type n);  // unchecked access
    const_reference operator[](size_type n) const;

    reference at(size_type n);          // checked access
    const_reference at(size_type n) const;

    reference front();      // first element
    const_reference front() const;
    reference back();       // last element
    const_reference back() const;

    // ...
};