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

monarch_dodra monarchdodra at gmail.com
Thu Jan 31 07:29:17 PST 2013


On Thursday, 31 January 2013 at 15:21:02 UTC, Andrei Alexandrescu 
wrote:
>
> We could easily arrange things to segfault just the same with a 
> struct-based implementation.
>
> Andrei

Not if you have a "lazy initialization scheme", which is the 
current scheme we are using...

...and will probably continue to use, since we have no standard 
way of forcing initialization :(


More information about the Digitalmars-d mailing list