Listing 4: Partial specialization

template <typename T>
class SubArray<T, 1>
{
   T * m_pElements; // Refers to elements in another Array

public:

   T & operator [] (unsigned int index); 
   const T & operator [] (unsigned int index) const; 
};