how to write an array in stl in c++
<p>how does one write an <code>array</code> in <code>stl</code> inside a class? i want to write an <code>array in stl</code> and overload the operators
<code>()[]</code> in c++ i know how to overload operators but i have no idea on how stl works...
i can overload operators <code>()[]</code> like this below i have used matrix as an example here to show on how i can overload the operators</p>

<pre><code>int* operator[] (int i) {
        if (i &lt; 10) 
        {
            return matrix[i];
        }

    }

    int* operator() (int i) {
        if (i &lt; 10) 
        {
            return matrix[i];
        }

    }
</code></pre>
