Gor Gyolchanyan:
My question is, why not allow is operator to be overloadable for structures?
Or why the bad D compiler doesn't statically refuse the code like:
bool opBinary(string op : "is")(typeof(null))
Bye, bearophile
Gor Gyolchanyan:
My question is, why not allow is operator to be overloadable for structures?
Or why the bad D compiler doesn't statically refuse the code like:
bool opBinary(string op : "is")(typeof(null))
Bye, bearophile