Does D really need something like const&?

Namespace rswhite4 at googlemail.com
Sat Mar 2 01:31:55 PST 2013


> 1/ Generic code. You may not know that the data are big after 
> starting conglomerating more and more stuff.
auto ref for templates still exists and won't get away.

> 2/ Data may be small, but with an expensive copy mecanism.
Example?

> And I can go on and on.
Yes go on, I'd like to hear more.


More information about the Digitalmars-d mailing list