escaping addresses of ref parameters - not

Brad Roberts braddr at puremagic.com
Tue Feb 10 18:50:30 PST 2009


Andrei Alexandrescu wrote:
> 
> You shouldn't do that anyway as structs can be moved freely.
> 
> Andrei

Where does the language spec state or suggest that?  A subset of structs
can be (those that contain no internal pointers nor have had their
address taken (including references), but it's not a generally true
fact, as far as I recall.

Later,
Brad



More information about the Digitalmars-d mailing list