title: Array inside an object
body: <p>It's possible to create an array like this - if size is defined before arr.</p>
  
  <pre><code>const int size = 5;
  int arr[size];
  </code></pre>
  
  <p>But it's not possible, when size and arr are inside object or struct:</p>
  
  <pre><code>struct A{
      A(int s) : size(s) 
      {}
      const int size;
      int arr[size]
  };
  
  A(5);
  </code></pre>
  
  <p>Why is it so? It's seems kinda illogical, because in both cases size of array is known in compilation time.</p>