Can someone help break down this line of code for me? : <p>I just don't really understand what's going on here(The constructing a new vector part). It's code from a book I am using to learn C++. I can't seem to find that sort of construction anywhere on the web.</p>

<pre><code>class Vector 
{

public:
    Vector(int s):elem{new double[s]}, sz{ s }{}    //constructs a new vector
    double&amp; operator[](int i) { return elem[i]; }   //elements access: subscripting
    int size() { return sz; }



private:
    double* elem; //pointer to the elements 
    int sz; // number of elements


};
</code></pre>
