On Mon, 07 Nov 2005 14:45:19 +0100 Bram Kuijvenhoven <[EMAIL PROTECTED]> wrote:
> Does <> for generics fit into Pascal? Well, we use [] for array indexing, and > () for parameter passing to procedures/functions/methods. So why not use <> > for passing parameters to generic types? And, similar to the case of function > calls and array indexing, these <> could follow the type identifier directly. You got a point here, but the "where T is Foo" stuff is crap then, don't you agree? TGType<T: TBaseType> = class(...) ... end; is better then, when compared to your parameter example. Micha _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel