Let's say I have some boxing implementation using structs.
With D1 one could have
struct Value {
Value opAssign(double arg){...}
}
Value v1, v2;
v1 = v2;
With D2 (at least 014 and 023) I get compilation error:
function Value.opAssign (double arg) does not match parameter types (Value)
This
Sat, 14 Feb 2009 15:25:23 +0200, gena wrote:
> struct Value {
>Value opAssign(double arg){...}
> }
>
> Value v1, v2;
> v1 = v2;
>
> With D2 (at least 014 and 023) I get compilation error:
> function Value.opAssign (double arg) does not match parameter types (Value)
The D2 specification seem