[cxx-abi-dev] IA-64 C++ ABI key function question
Gabriel Dos Reis
Gabriel.Dos-Reis at cmla.ens-cachan.fr
Mon Sep 16 15:29:39 UTC 2002
loewis at informatik.hu-berlin.de (Martin v. Löwis) writes:
| For the specific issue, I recommend that a quality implementation
| issues a warning that a virtual function should not be defined inline,
| since it usually can't be invoked inline, anyway.
Certainly, existing compilers out there can inline virtual functions.
In particular, when the dynamic type matches the static type -- that
appears frequently in some applications.
What about
struct A {
virtual ~A();
};
struct B : A {
// ~B defined inline by the compiler
};
-- Gaby
More information about the cxx-abi-dev
mailing list