disable all member function calls for rvalues?

Kagamin spam at here.lot
Fri Dec 18 07:38:35 PST 2009


Andrei Alexandrescu Wrote:

>     b.a = A.init;

The problem here is not in passing temporaries as this, the problem is that property assignment is ambiguous with opAssign called on the property's return value. Your proposed solution seems unrelated to the problem.



More information about the Digitalmars-d mailing list