-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vassilii Khachaturov schrieb:
> IIRC a destructor can't call virtual methods, so if the interface
> needs to do some kind of cleanup it can only be something pertaining
> to this instance and using just the compile-time resolved calls.
> I haven't looked at the code you cite above so this might be irrelevant
> there, but I am a bit suspicious because of the name "FGInterface" that
> hints at an abstract class.

Not knowing if it helps (I don't even know about what part of the code
you are talking about):

Virtual functions can be avoided in many cases by using the so called
Barton-Nackman trick (http://en.wikipedia.org/wiki/Barton-Nackman)...

CU,
Christian



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFDqFJFlhWtxOxWNFcRAr5eAJ42G38BOCWzN5QysINniU+2Tfp9sQCgt81Q
12s6Yq3RH93GlvlN3FUmcyA=
=iW5n
-----END PGP SIGNATURE-----

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to