<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Ryan Joseph <<a href="mailto:genericptr@gmail.com">genericptr@gmail.com</a>> schrieb am Mo., 10. Juni 2019, 15:28:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On Jun 10, 2019, at 9:25 AM, Sven Barth via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-devel@lists.freepascal.org</a>> wrote:<br>
> <br>
> The operator for assigning one class instance to another exists and is internal thus it is not allowed to be overloaded. <br>
> <br>
<br>
Is that true for binary operators also? The same principle could apply to them also and perhaps solve the problem you posted below.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The +-operator is not defined internally thus it is allowed to be overloaded. (is it really that hard to understand? If you can use an operator in code without declaring an operator overload then this operator is internal and not allowed to be overloaded). </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>