Should AliasThis allow implicit conversion to the subtype AliasThis aliases to?

Aleksandar Ruzicic krckoorascic at gmail.com
Sat May 18 05:05:40 PDT 2013


>
> int[2] opBinary(string op)(int[2] rhs) if (op == "=") {
> 	_pair = rhs;
> 	return rhs;
> }

Oops, that should be IntPair opAssign(int[2] rhs)


More information about the Digitalmars-d mailing list