[fpc-devel] Generics Basics

Marco van de Voort marcov at stack.nl
Wed Nov 9 08:51:29 CET 2005


> I didn't discuss about this idea but now I would say something. Is it
> really important, to integrate templates support into compiler?

Yes. Otherwise they are no templates.

> Maybe an external preprocessing utility should be better?

IMHO this can't be done. E.g. the avoiding of multiple instantiation of the
same code using the type system requires this.

> I think, an integrated complex preprocessor can slow the compiling process
> very much even if a source code doesn't contain these syntax extensions.
> Very rapid compiling was always a great pascal advantage over c++. This
> "improvement" can kill this advantage.

An external preprocessor is a nono. 



More information about the fpc-devel mailing list