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.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel