Template:Object Types

From Lazarus wiki
Revision as of 22:51, 17 February 2021 by Jwdietrich (talk | contribs) (Creating this templat as a first overview. Source: https://forum.lazarus.freepascal.org/index.php/topic,30686.30.html (ASerge))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Feature Record Object Class
Encapsulation (combining data and methods + hiding visibility) Yes Yes Yes
Inheritance No Yes Yes
Class constrcutor and destrutor Yes Yes Yes
Polymorphism (virtual methods) No Yes Yes
Memory allocation Stack Stack Heap
Operator overload (global) Yes Yes Yes
Operator overload (in type only) Yes No No
Type helpers Yes No Yes
Virtual constructors, class reference No No Yes
Variant part (case) as c++ union Yes No No
Bitpacked (really packing) Yes No No