<div class="gmail_quote">On 27 August 2012 23:54, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 8/27/2012 7:03 AM, foobar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This discussion is all sorts of wrong. Whoever said that defargs are metadata<br>
(Manu?) was right. Therefore it would make sense to implement a general metadata<br>
facility for D and use *that* for defargs. C++11 has annotations, so that's the<br>
place to start looking at. D has already enough of those pesky special case<br>
features, let's not add yet another one at the expense of a more general<br>
metadata/annotation mechanism which eventually would be added anyway due to<br>
popular demand.<br>
</blockquote>
<br></div>
The annotations design discussed was about annotating declarations, not types.<br>
</blockquote></div><br><div>And that may be fine for default args too. I've personally only ever used them where I've explicitly defined them.</div>