<br><br><div class="gmail_quote">On Sun, Mar 6, 2011 at 12:24 PM, Peter Alexander <span dir="ltr"><<a href="http://peter.alexander.au">peter.alexander.au</a>@<a href="http://gmail.com">gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On 6/03/11 4:22 PM, bearophile wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
So I think it's not worth adding to D.<br>
</blockquote>
<br>
But if you don't agree... talk.<br>
<br>
Bye,<br>
bearophile<br>
</blockquote>
<br></div></div>
I agree.<br>
<br>
It would be nice in some situations (like cross and dot products for vectors), but otherwise it's unnecessary and just adds confusion in exchange for a tiny but of convenience in a handful of scenarios.<br>
</blockquote></div><br><br>With C++, for example, Eigen uses expression templates. How does one do expression templates in D? Could someone rewrite this <a href="http://en.wikipedia.org/wiki/Expression_templates">http://en.wikipedia.org/wiki/Expression_templates</a> this D?<br>