Re: [fpc-devel] Re: Templates / Generics Syntax

2005-11-04 Thread Mattias Gaertner
On Fri, 04 Nov 2005 12:56:03 +0100 Thomas Schatzl <[EMAIL PROTECTED]> wrote: > > Op Thu, 3 Nov 2005, schreef Mattias Gaertner: > > > > > >>Here is a proposal of the syntax: > >> > >>type > >> TGenericClass = class > >> public > >>procedure Add(Item: T; Flag: F); > >> end; > > > > > > Th

[fpc-devel] Re: Templates / Generics Syntax

2005-11-04 Thread Thomas Schatzl
Op Thu, 3 Nov 2005, schreef Mattias Gaertner: Here is a proposal of the syntax: type TGenericClass = class public procedure Add(Item: T; Flag: F); end; This syntax is almost impossible to implement since in one of your other mails the symbols to mark the parameters appear in regular