<p>Am 02.07.2012 16:51 schrieb "JC Chu" <<a href="mailto:jcchu@acm.org">jcchu</a><a href="mailto:jcchu@acm.org">@</a><a href="mailto:jcchu@acm.org">acm.org</a>>:<br>
> ◦ Restrictions on the string-as-the-first-operand case have been relaxed.</p>
<p>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.</p>
<p>Regards,<br>
Sven<br>
</p>