The operator overloading in Delphi records is straightforward if a record type does not contain fields which reference heap objects. To illustrate the problem which heap references arise let us consider the following (incorrect) example: program DelphiDemo; {$APPTYPE CONSOLE} uses SysUtils; ...
More...