[fpc-devel] Optimizing unused return values of inline functions

Marco van de Voort marcov at stack.nl
Mon Aug 21 21:15:13 CEST 2017


In our previous episode, Sven Barth via fpc-devel said:
> > I am asking, why do you think *this pattern* (of always returning self)
> > should be inherently more efficient ?
> 
> The pattern definitely has its uses. E.g. in the user space of our
> operating system at work we have a StdOutPrinter class that is used like
> this:

No need to look so far, just look at TV/FV dialog construction.



More information about the fpc-devel mailing list