[cxx-abi-dev] Incorrect statement in C++ ABI
Nathan Sidwell
nathan at codesourcery.com
Tue Aug 27 08:28:52 UTC 2002
michaelw at ca.ibm.com wrote:
>
> In the C++ ABI document Section 1.1 Definitions, the nearly empty class has
> at most one nearly empty non-virtual proper base. This does not seem to be
> true.
>
> By that definition class C is not nearly empty in the hierarchy
>
> class A { virtual void a(); };
>
> class B: public A { virtual void b(); };
>
> class C: public B { virtual void c(); };
>
> since it has two non-virtual nearly empty proper bases B and A.
You are correct, it should say 'direct base', that was the intent.
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan at codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan at acm.org
More information about the cxx-abi-dev
mailing list