[fpc-pascal] [OT] Generics and Type Constraints sample

silvioprog silvioprog at gmail.com
Fri Oct 31 16:08:03 CET 2014


On Fri, Oct 31, 2014 at 11:23 AM, Sven Barth <pascaldragon at googlemail.com>
wrote:

> Am 30.10.2014 20:49 schrieb "silvioprog" <silvioprog at gmail.com>:
> >   TMath<T; A: TAdder<T>, constructor> = class
>
> It is not yet possible to reuse a type parameter directly in the parameter
> declaration. There already exists a bug report though.
>
> Regards,
> Sven
>
Very nice!

Some link? I will follow it.

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20141031/1af8e628/attachment.html>


More information about the fpc-pascal mailing list