[fpc-pascal] Constants in generics
Sven Barth
pascaldragon at googlemail.com
Sun Jan 6 23:17:12 CET 2019
Am So., 6. Jan. 2019, 22:38 hat Ryan Joseph <ryan at thealchemistguild.com>
geschrieben:
> Since we introduced “const” keywords to generic params does it make sense
> to use an optional “type” keyword also? That just occurred to me as
> something worth discussing. No opinion either way except there’s a
> inconsistency now which may bother some people.
>
> generic TStuff<type T; const A> = record end;
>
We can always add it in later if we think it's needed. Let's keep it out
for now.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190106/52ebfb43/attachment.html>
More information about the fpc-pascal
mailing list