C++ and Object Pascal Models

From RAD Studio
Jump to: navigation, search

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


The C++ and Object Pascal class models are different in both obvious and subtle ways. One of the most obvious differences is that C++ allows multiple inheritance while Object Pascal is restricted to a single inheritance model. In addition, C++ and Object Pascal 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.

Topics

See Also