[fpc-pascal] Generic constants with generic type

Andrey Zubarev zamtmn at gmail.com
Wed Apr 21 08:47:04 CEST 2021


Hi all!
With the existing syntax of constants, it is good to pass array boundaries,
but bad to initial parameter values. What do you think about such
constructs:

GTValue<GValueType; const GMin,GDefault,GMax:GValueType>=...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210421/0d8ccf0c/attachment.htm>


More information about the fpc-pascal mailing list