[fpc-devel] Question on constref
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Feb 2 12:30:53 CET 2023
On Thu, 2 Feb 2023 12:19:46 +0100
Marco van de Voort via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
> On 2-2-2023 12:00, Ondrej Pokorny via fpc-devel wrote:
> >
> >
> > The only disadvantage is that you get a FreeAndNil copy for every
> > type you pass into the parameter (?)
>
> Are they actually made global ?
yes
> Will two freeandnil<integers> in different units use the same?
yes (except for packages).
Mattias
More information about the fpc-devel
mailing list