<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 8 July 2015 at 10:46, Martin Nowak via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Saturday, 4 July 2015 at 10:47:17 UTC, Iain Buclaw wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
both cases to throw a compilation error (using static assert). However<br>
</blockquote></blockquote></blockquote>
I'd like the core druntime team to be on board with this.<br>
</blockquote>
<br></span>
It makes sense to disallow them, but I wonder why they are allowed in C++.<br>
</blockquote></div><br></div><div class="gmail_extra">They *aren't* allowed in C++.<br><br>GCC will give you a compiler warning if you attempt it, and stdc++ should invoke a cxx_assert on it's use.<br><br></div><div class="gmail_extra">Iain<br></div></div>