[fpc-devel] Question on constref

Hairy Pixels genericptr at gmail.com
Thu Feb 2 03:10:24 CET 2023



> On Feb 2, 2023, at 8:41 AM, Adriaan van Os via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
> 
> On debate, see FPC issue 17442.

https://gitlab.com/freepascal.org/fpc/source/-/issues/17442

Yes this is what I remember learning.

What I think should be documented is what you should do for records that over a certain size. In my old code I have some 64k records and I starting using constref with but would using “const” be sufficient to pass by reference also?

Regards,
Ryan Joseph



More information about the fpc-devel mailing list