[fpc-devel] Templates / Generics Syntax
daniel.mantione at freepascal.org
Thu Nov 3 20:25:07 CET 2005
Op Thu, 3 Nov 2005, schreef Mattias Gaertner:
> Right. I didn't think of that.
> What about edged brackets?
> TGenericClass[T,F] = class
> procedure Add(Item: T; Flag: F);
At first sight it looks okay. If necessary it is possible to introduce a
two character bracket, i.e. (# #) or (! !), or with whatever character you
want as long as it is not a prefix or postfix operator.
More information about the fpc-devel