[fpc-pascal] const records passed incorrectly
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Nov 16 20:04:52 CET 2009
On 16 Nov 2009, at 19:56, Anthony Walter <sysrpl at gmail.com> wrote:
> On Mon, Nov 16, 2009 at 1:39 PM, Jonas Maebe <jonas.maebe at elis.ugent.be
> > wrote:
>> For this reason, I think the Delphi operator naming decision is
>> actually
>> better than FPC's. Limiting them to classes is another matter.
>>
>>
>> Jonas
>
> Jonas,
>
> Delphi doesn't limit operator overloading to classes. You can also add
> overloading to in (addition to methods and inlining) records.
I knew about the methods, but not about the operators, thanks. The
"methods in records" is one thing I don't understand though, because
TP-style objects without vutual methods are functionally identical,
afaik.
Jonas
More information about the fpc-pascal
mailing list