[fpc-pascal] Constants in generics
pascaldragon at googlemail.com
Tue Nov 27 17:07:45 CET 2018
Am Di., 27. Nov. 2018, 15:08 hat Ryan Joseph <ryan at thealchemistguild.com>
> > You did read the part about the generic and the specialization being
> located in two different units? 😉
> Oops. This still works so I guess it’s ok.
> program gc_ppu;
> a: specialize TList<Integer,10>;
Does it also work correctly if you change the constant and then recompile?
The same if the specialization is inside another unit used by the program?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal