is_floating - RTTI specification.

Coleen Phillimore coleen at zko.dec.com
Wed Oct 13 17:59:01 UTC 1999


In Daveeds RTTI paper, the defn of base class info is:

   struct std::__base_class_info {
    std::type_info *type; /* Null if unused. */
    std::ptrdiff_t offset;
    int is_direct: 1;
    int is_floating: 1; /* I.e., virtual or base of virtual subobject. */
    int is_virtual: 1; /* Implies is_floating. */
    int is_shared: 1; /* Implies is_floating and the virtual subobject
                                 appears on multiple derivation paths. */
    int is_accessible: 1;
    int is_ambiguous: 1;
    };

What is is_floating vs. is_virtual?  This is the second reference I've
seen to "floating" base classes.  Can someone point to the description of
these?

Also, I take it that "offset" is the offset in the vtable if the base
class is virtual, rather than real offset into the object?

Thanks,
Coleen
-- 
-----------------------------------------------------------------------
Coleen Phillimore                  | mailto:coleen at zko.dec.com
Compaq Computer Corp.   Nashua, NH | COMPAQ C++ Compiler Development
-----------------------------------------------------------------------




More information about the cxx-abi-dev mailing list