title: Initializing a vector of vectors having a fixed size with boost assign
body: <p>Having a vector of vector with a fixed size,</p>
  <pre><code>vector&lt;vector&lt;int&gt; &gt; v(10);
  </code></pre>
  <p>I would like to initialize it so that it has in all elements a one dimensional vector with initialized value (for example 1).</p>
  <p>I have used Boost Assign as follows</p>
  <pre><code>v = repeat(10,list_of(list_of(1)));
  </code></pre>
  <p>and I've got a compilation error</p>
  <pre><code>error: no matching function for call to ‘repeat(boost::assign_detail::generic_list&lt;int&gt;)’
  </code></pre>
  <p>Could you please tell me how to do that.
  Thanks in advance</p>