Structs with pointers?

bearophile bearophileHUGS at
Sun Jan 23 07:21:48 PST 2011

Dmitry Olshansky:

> The first two are actually OK, since you pass a copy of a value type 
> FooX to barX.
> If signature was void bar(ref FooX) then it should have failed.
> But the third makes me wonder what the *** is going on.

I have added the third case to this bug report of mine:


More information about the Digitalmars-d-learn mailing list