[fpc-devel] C++ Linking technology
Florian Klaempfl
florian at freepascal.org
Fri Apr 27 11:32:26 CEST 2007
Felipe Monteiro de Carvalho schrieb:
> Hallo,
>
> Another day Florian was talking about the cppclass, a experimental
> feature to link to c++
>
> I would like to know: Could someone inherit a class based on cppclass
> with only external functions and then add to it it´s own methods and
> fields?
No, because this really complicates things. C++ like vmt generation,
contructor/destructor handling etc.
>
> If this doesn´t exist yet, I would say it would be a good adition,
This is no addition but complicating things by 10 :)
> because then one can use the c++ classes like they are often used on
> c++ app: By inheriting them and adding your own code.
>
> This is a very specific question, so I could just ask Florian
> directly, but I guess that here everyone will have access to the
> answer =)
>
> thanks a lot,
More information about the fpc-devel
mailing list