[fpc-devel] Question on constref

Marco van de Voort fpc at pascalprogramming.org
Thu Feb 2 12:19:46 CET 2023


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 ? Will two freeandnil<integers> in 
different units use the same?

But that is just curiousity, IMHO this remedy is worse than problem. 
Obviously even.




More information about the fpc-devel mailing list