* bogus codegen with static opAssign() usage *
Walter Bright
newshound at digitalmars.com
Sun Feb 18 23:38:54 PST 2007
a = b;
is replaced with:
a.opAssign(b);
not:
a = a.opAssign(b);
The return value of opAssign comes in to play with:
c = a = b;
which is rewritten as:
c = a.opAssign(b);
More information about the Digitalmars-d
mailing list