[fpc-pascal] Constants in generics

Ryan Joseph ryan at thealchemistguild.com
Sun Jan 6 21:51:37 CET 2019

> On Jan 6, 2019, at 1:31 PM, Ben Grasset <operator97 at gmail.com> wrote:
>   generic TStaticList<T, const L: PtrUInt, const H: PtrUInt> = record

This is exactly the reason I added the feature, there’s no way to extend static arrays otherwise! Beyond this one thing I have no idea what to use them for. ;)

	Ryan Joseph

More information about the fpc-pascal mailing list