<div dir="ltr">On Sat, Apr 20, 2013 at 6:46 AM, Matthieu Monrocq <span dir="ltr"><<a href="mailto:matthieu.monrocq@gmail.com" target="_blank">matthieu.monrocq@gmail.com</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Without the link I cannot confirm, is this "true" VLA or is it `std::dyn_array` ?</div>
</blockquote><div><br></div><div style>What we voted in is pretty close to this: <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3497.html">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3497.html</a></div>
<div style><br></div><div style>Quick summary:</div><div><br></div><div>struct S {</div><div style>  S();</div><div style>  ~S();</div><div style>};</div><div style>void f(int n) {</div><div style>  S array[n];</div><div style>
  [&array] { // ok</div><div style>    for (decltype(auto) s : array) { // ok</div><div style>      // ...</div><div style>    }</div><div style>  }</div><div style>  [=array] {} // error</div><div style>  sizeof(array); // error</div>
<div style>  decltype(array) array2; // error</div><div style>  int nested1[n][2]; // ok</div><div style>  int nested2[2][n]; // error</div><div style>  typedef int td[n]; // error</div><div style>}</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Sat, Apr 20, 2013 at 3:33 PM, Stephen Lin <span dir="ltr"><<a href="mailto:swlin@post.harvard.edu" target="_blank">swlin@post.harvard.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Oh dear, are they adopting the runtime-evaluated "sizeof" too??<br>

<div><div><br>
On Sat, Apr 20, 2013 at 9:20 AM, Richard Smith<br>
<<a href="mailto:richard-llvm@metafoo.co.uk" target="_blank">richard-llvm@metafoo.co.uk</a>> wrote:<br>
> Author: rsmith<br>
> Date: Sat Apr 20 08:20:33 2013<br>
> New Revision: 179949<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=179949&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=179949&view=rev</a><br>
> Log:<br>
> VLAs in C++14!<br>
><br>
> Modified:<br>
>     cfe/trunk/www/cxx_status.html<br>
><br>
> Modified: cfe/trunk/www/cxx_status.html<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_status.html?rev=179949&r1=179948&r2=179949&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_status.html?rev=179949&r1=179948&r2=179949&view=diff</a><br>


> ==============================================================================<br>
> --- cfe/trunk/www/cxx_status.html (original)<br>
> +++ cfe/trunk/www/cxx_status.html Sat Apr 20 08:20:33 2013<br>
> @@ -427,7 +427,7 @@ available.</p><br>
>        <td class="none" align="center">No</td><br>
>      </tr><br>
>      <tr><br>
> -      <td>[PROVISIONAL] Runtime-sized arrays with automatic storage duration</td><br>
> +      <td>Runtime-sized arrays with automatic storage duration</td><br>
>        <td><a href="<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3639.html" target="_blank">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3639.html</a>">N3639</a></td><br>


>        <td class="none" align="center">Partial</td><br>
>      </tr><br>
> @@ -459,7 +459,7 @@ available.</p><br>
>      <tr><br>
>        <td>Clarifying memory allocation</td><br>
>        <td><a href="<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3664.html" target="_blank">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3664.html</a>">N3664</a></td><br>


> -      <td class="none" align="center">No</td><br>
> +      <td class="none" align="center">Partial</td><br>
>      </tr><br>
>  </table><br>
><br>
><br>
><br>
> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>