[fpc-devel] Question on constref

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 2 12:25:18 CET 2023


On Thu, 2 Feb 2023 12:00:31 +0100
Ondrej Pokorny via fpc-devel <fpc-devel at lists.freepascal.org> wrote:

>[...]
> Delphi cannot do it. FPC rocks!

+1

> The only disadvantage is that you get a FreeAndNil copy for every
> type you pass into the parameter (?)
> 
> Do we want to change it in SysUtils? :)

I got a feeling this solves a problem no one had.


Mattias


More information about the fpc-devel mailing list