pass-by-ref semantics for structs (was Deque impl.)

monarch_dodra monarchdodra at gmail.com
Thu Jan 31 07:27:43 PST 2013


On Thursday, 31 January 2013 at 15:12:52 UTC, Andrei Alexandrescu 
wrote:
>
> As far as I can tell classes have the same problem.
>
>
> Andrei

Regarding classes, would there be any chance of being to create a 
class instance that isn't a child of "object"?

I'm not entirely sure what the implications are, but it seems 
that is the major "no-sell" argument against using classes.

I know *I* would be using them a whole lot more if this was the 
case.


More information about the Digitalmars-d mailing list