title: Constructor and anonymous union with const members
body: <p>Is it possible to have an anonymous union with const members? I have the following:</p>
  
  <pre><code>struct Bar {
    union {
      struct { const int x, y; };
      const int xy[2];
    };
    Bar() : x(1), y(2) {}
  };
  </code></pre>
  
  <p>With G++ 4.5 I get the error:</p>
  
  <pre><code>error: uninitialized member ‘Bar::&lt;anonymous union&gt;::xy’ with ‘const’ type ‘const int [2]’
  </code></pre>