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

silvioprog silvioprog at gmail.com
Tue Nov 11 21:35:43 CET 2014


On Fri, Oct 31, 2014 at 10:16 PM, Flávio Etrusco <flavio.etrusco at gmail.com>
wrote:

> On Fri, Oct 31, 2014 at 12:08 PM, silvioprog <silvioprog at gmail.com> wrote:
> > 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.
> >
>
> Probably this: http://bugs.freepascal.org/view.php?id=25678
> It was easy to find just searching "generics" in unresolved FPC tickets ;-)
>
> -Flávio


Thanks a lot guy!

-- 
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/20141111/22fdfc2d/attachment.html>


More information about the fpc-pascal mailing list