in reply to 'can' operator?
Did I do something wrong? If yes, then what is the correct syntax to check whether an operator is overloaded?Yes, can only checks whether a given class/object implements a method, not whether operators overloaded. For that you'll want overload::Method from the overload module.
_________
broquaint
|
|---|