On Wednesday, 24 June 2015 at 00:23:42 UTC, Timon Gehr wrote:
On 06/23/2015 03:01 AM, Andrei Alexandrescu wrote:
the perfect solution.

We might as well do it right. Why promote unnecessary template bloat?

I'm fine with it either way, but given all of the template bloat that auto ref creates and how common templates are in D (and will only become more so as more stuff is range-based and uses design by introspection), the cost of auto ref generating extra template instantiations will only increase. So, I think that we'd be better off simply adding a new attribute like @anyref or whatever we want to call it. But I don't know how much it will ultimately matter.

- Jonathan M Davis

Reply via email to