Abstract
The inheritance model for C++/CLI classes is not the same as that in C++. Multiple inheritance (of managed class types) is not supported. Instead, C++/CLI reference types may only inherit from one base class, but may implement multiple interfaces. This is the only supported inheritance model in the CLI, so languages such as C# and VB .NET support the same model as C++/CLI. Other features of the model include the ability to specify whether a function with the same name as a base class’s virtual function is intended to be an override to that function, or whether it is a new function with the same name.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Gordon Hogenson
About this chapter
Cite this chapter
(2006). Inheritance. In: C++/CLI. Apress. https://doi.org/10.1007/978-1-4302-0282-0_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0282-0_8
Publisher Name: Apress
Print ISBN: 978-1-59059-705-7
Online ISBN: 978-1-4302-0282-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books