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
In reply to Re: 'can' operator?
by broquaint
in thread 'can' operator?
by pg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |