Am 02.07.2012 16:51 schrieb "JC Chu" <jcchu <jc...@acm.org>@ <jc...@acm.org>
acm.org <jc...@acm.org>>:
> ◦  Restrictions on the string-as-the-first-operand case have been relaxed.

I don't know whether you realized that already, but the
isbinaryoperatoroverloadable function is called twice: once with the order
given by the user and once with the order reversed as at least regarding
the possibility of overloading the binary operators are commutative. So the
checks for the first operand being a string indirectly also apply to the
right one being a string.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to