[fpc-devel] new features and facilities

Marco van de Voort marcov at stack.nl
Mon Oct 12 23:29:39 CEST 2015


In our previous episode, Dmitry Boyarintsev said:
> On Mon, Oct 12, 2015 at 4:01 PM, Marco van de Voort <marcov at stack.nl> wrote:
> 
> > (ifthen clashes name with the delphi functions of the same name in a much
> > used unit as math, the name should be different but the intrinsic principle
> > IMHO is best)
> >
> But they're inline functions. Thus when inline-d into the code, they're
> acting as intrinsic.

Are they? It sounds dangerous to me that inlining would suddenly not
evaluate functions anymore.

The delphi ifthen is just a shorthand as an conversion aid where evaluation
requirements are not too complex.



More information about the fpc-devel mailing list