[fpc-devel] Linking to C++
Sebastian.Kaliszewski at softax.com.pl
Tue Jan 23 14:18:12 CET 2007
To clarify a bit...
Peter Popov wrote:
> C++ class CANNOT have a virtual destructor (the VMT is killed when you
> call delete, before the class' destructor is called).
Nope. Virtual destructors exist in C++, moreover good practice is to make
destructor virtual if any other method is virtual. The problem is that there
could be non virtual ones as well.
> In fact, C++
> classes need not have a VMT at all.
More information about the fpc-devel