[fpc-pascal] [OT] Generics and Type Constraints sample
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>
> 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
> >> 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 ;-)
Thanks a lot guy!
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal