Is it possible (or ok) to have a std::list of std::list's?
<p>I have a std::list of Points (that simply store an x, y).  Each one of these points represents a polygon, which I later draw.</p>

<pre><code>class Point {
public:
    int x, y;
    Point(int x1, int y1)
    {
        x = x1;
        y = y1;
    }
};

std::list &lt;Point&gt; currentPolygon;
</code></pre>

<p>I would like to have a list of these polygons (lists themselves).</p>

<p>Is this possible?  How do I have a std::list of a list of Points (so I can store more than one polygon).</p>
