[fpc-devel] inline... and philosophy

Florian Klämpfl florian at freepascal.org
Sun Nov 10 17:45:49 CET 2019

Am 10.11.19 um 17:42 schrieb J. Gareth Moreton:
> Some of the "condition_in" functions need expanding though, and I don't 
> yet have an answer if it's okay to do operator overloading in the 
> compiler source (so I can do things like "if (jmp1.cond in jmp2.cond) 
> then", for example, instead of the more ambiguous "if 
> condition_in(jmp1.cond, jmp2.cond) then".

I wouldn't do, for somebody without experience with the code, this is 
confusing. Operator overloading makes imo only sense if it effects a lot 
of code and makes it more readable because it replaces a lot of nested 
function calls.

More information about the fpc-devel mailing list