DMD 0.177 release
Lars Ivar Igesund
larsivar at igesund.net
Sat Dec 9 06:54:12 PST 2006
Boris Kolar wrote:
> == Quote from Stewart Gordon (smjg_1998 at yahoo.com)'s article
>> "# Casting a value v to a struct S is now rewritten as S(v).
>> # Initializing a struct S from a value v is now rewritten as S(v)."
>> It took me a moment to realise what you meant by this.
>
> Can you please enlighten the rest of us too?
S(v) ==> S.opCall(v), that is calling the static opCall of struct S with v
as an argument.
--
Lars Ivar Igesund
blog at http://larsivi.net
DSource & #D: larsivi
More information about the Digitalmars-d-announce
mailing list