title: array of arrays of different size
body: <p>I've some code that produces a set of tr1::array of different sizes, but same type, like</p>
  
  <pre><code>array&lt;int, 2&gt;
  array&lt;int, 4&gt;
  array&lt;int, 6&gt;
  </code></pre>
  
  <p>The <strong>number</strong> of these arrays, and their sizes, are given in compile time, so I know exactly how many of them there will be and how's big each one (but they may be different).</p>
  
  <p>Problem: I would like to put them in a collection (using array&lt;> would be great), but type must be equal for all the members and this is not the case.</p>
  
  <p>I thought about using boost::variant, but how can specify a variant with a compile-time determined list of types (I'm thinking about an heavy usage of the preprocessor...)?
  What about using boost::any? Other methods? (Wild pointers?)</p>
  
  <p>TIA
  ~Aki</p>
  
  <p>Correction: preprocessor is not usable in this case.</p>