title: Using clang 3.1 with initializer lists
body: <p>When I compile this code:</p>
  
  <pre><code>template&lt;typename T&gt;
  struct S {
    std::vector&lt;T&gt; v;
    S(initializer_list&lt;T&gt; l) : v(l) {
      std::cout &lt;&lt; "constructed with a " &lt;&lt; l.size() &lt;&lt; "-element list\n";
    }
  };
  </code></pre>
  
  <p>using the following command line:</p>
  
  <pre><code> clang++ -std=c++11 -stdlib=libc++ initializer_list.cpp
  </code></pre>
  
  <p>I get the following error.</p>
  
  <pre><code>initializer_list.cpp:12:23: error: expected ')'
      S(initializer_list&lt;T&gt; l) : v(l) {
  </code></pre>
  
  <p>Does anyone know the fix if any??</p>
  
  <p>Thanks in advance</p>