Constructors

Top  Previous  Next

What is translated > Types > Records, Classes, Interfaces > Class > Constructors

 

In Delphi a declaration of constructors start with the keyword constructor followed  by an arbitrary name. In C++ is the name of the of the class also the name of the constructor.

 

constructor classname.foo;    ->   __fastcall classname::classname ( )

 

 

Constructor of the base class

Initialization lists

Addition of missing constructors

Problems with constructors

 

 

 



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content