title: Initialization of classes within an STL array of vectors
body: <p>I wanted to know if it is possible to initialize a bunch of classes within an array of vectors within a single "line".</p>
  
  <pre><code>class A {
       public:
           A(int k) {...}
  };
  
  [...]
  
  #include &lt;array&gt;
  #include &lt;vector&gt;
  using namespace std;
  
  array&lt;vector&lt;A&gt;, 3&gt; = { { A(5), A(6) }, { A(1), A(2), A(3) }, { } };
  </code></pre>
  
  <p>As you can imagine this solution doesn't work (otherwise I wouldn't be here!). What is the fastest way to do it?</p>