title: How to set array size with const member variable?
body: <p>I tried to set array size with const member variable like below</p>
  
  <pre><code>class A {
    const int SIZE;
  
    A() : SIZE(10) {}
    void aaa() { int a[SIZE]; }
  };
  </code></pre>
  
  <p>I cannot build </p>
  
  <blockquote>
    <p>a[SIZE]</p>
  </blockquote>
  
  <p>like this expression.</p>
  
  <p>When I use GCC, build success. But when I use VC++ (Windows), I cannot build.</p>
  
  <p>The error message is "'this' cannot be used in a constant expression"</p>
  
  <p>How to set array size with const member variable?</p>