title: Why is clang++ warning "suggest braces around initialization of subobject [-Wmissing-braces]"?
body: <p>I have this code:</p>
  
  <pre><code>#include &lt;array&gt;
  
  int main(int, char **argv)
  {
     std::array&lt;int, 3&gt; a = {1,2,3};
  }
  </code></pre>
  
  <p>This compiles fine (-std=c++11) , but if you include -Wall it gives this warning that I don't understand:</p>
  
  <pre><code>clang_pp_error.cpp:5:28: warning: suggest braces around initialization of subobject [-Wmissing-braces]
     std::array&lt;int, 3&gt; a = {1,2,3};
                             ^~~~~
                             {    }
  </code></pre>