[fpc-devel] C++ linking questions

Florian Klaempfl florian at freepascal.org
Sun Mar 21 14:37:28 CET 2010


>> 5. What's the best way to save the namespace in the tobjectdef class?
>> As a string containing 'FirstPart.SecondPart'? Or as C++ mangled
>> string '9FirstPart10SecondPart'? Or something else (e.g. a list
>> containing the parts)?
> 
> I've decided to save the mangled name in the objectdef. It's mangled
> directly when parsing it.

I think it's better to store just the name space string, it looks more
flexbile to me.



More information about the fpc-devel mailing list