Does D really need something like const&?

Namespace rswhite4 at googlemail.com
Fri Mar 1 15:05:12 PST 2013


I know about 'auto ref'. Nice try but ... ;)

> Need fine control over lifetime?
scope and scoped give you the possibility to put a class instance 
on the stack so you have also controll over the instance lifetime.
-> No reason for struct.
Interfaces, well, but I'm sure you can live without them 
sometimes.


More information about the Digitalmars-d mailing list