C++ and Delphi Class Models

From RAD Studio
Jump to: navigation, search

Go Up to Language Support for the RAD Studio Libraries (C++)

The C++ and Delphi class models are different in both obvious and subtle ways. One of the most obvious differences is that C++ allows multiple inheritance while Delphi is restricted to a single inheritance model. In addition, C++ and Delphi are subtly different in the way they create, initialize, reference, copy, and destroy objects. These differences and their impact on C++Builder Delphi style classes are described in this section.


See Also