次の方法で共有


Reference Conversions

A reference to a class can be converted to a reference to a base class in the following cases:

The result of the conversion is a pointer to the subobject that represents the base class.

See Also

Concepts

Standard Conversions