| Overview | Namespace | Class | Index | Help |
To work around ambiguities in the case of multiple-inheritance
interface types (which inherit XInterface more than once),
dervied Reference instances use
reinterpret_cast to switch _pInterface from a
pointer to XInterface to a pointer to a derived interface
type, and vice versa. In principle, this is not guaranteed to
work. In practice, it seems to work on all supported
platforms.
Copyright © 2003 Sun Microsystems, Inc.