Am Mi., 2. Jan. 2019, 23:41 hat Alexander Shishkin via fpc-pascal < fpc-pascal@lists.freepascal.org> geschrieben:
> 06.11.2018 10:13, Ryan Joseph пишет: > > > > program generic_constants; > > > > type > > generic TList<T, U> = record > > list: array[0..U-1] of T; > > function capacity: integer; > > end; > > > > I`d like to see constant parameter to be constrained with type > > type > generic TList<T; U: Integer> = record > list: array[0..U-1] of T; > function capacity: integer; > end; > That's already been taken care of by Ryan :) Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal