title: nested array type C++
body: <p>In general the type of a C++ array can be written as </p>
  
  <pre><code>std::array&lt;T, Size&gt;
  </code></pre>
  
  <p>What happens if my array happens to be a 3x3 array like this:</p>
  
  <pre><code>std::array&lt;int&gt; a[3][3];
  </code></pre>
  
  <p>How would the type here look like? I have tried:</p>
  
  <pre><code>std::array&lt;int,3,3&gt; or std::array&lt;int, (3,3)&gt;
  </code></pre>
  
  <p>But the compiler doesn't like that.</p>