[fpc-devel] Templates / Generics Syntax

Micha Nelissen micha at neli.hopto.org
Fri Nov 4 14:49:19 CET 2005


Peter Vreman wrote:
> I did some tests with g++. It looks like it parses the template 'normally'
> and don't handle it like a macro. When instantiating the template the
> generic type is replaced.

What tests did you do to come to this conclusion ? I mean, how can one 
see how g++ parses things ?

> full node tree when the generic is instantiated. But that means that it
> must be known that

....yessss? :-)

Micha




More information about the fpc-devel mailing list