[fpc-pascal] FPImage and GetDataLineStart
michael.vancanneyt at wisa.be
michael.vancanneyt at wisa.be
Fri Apr 22 12:08:57 CEST 2011
On Fri, 22 Apr 2011, Sven Barth wrote:
>> It is correct that the second doesn't compile. To make the second
>> compile, the overloaded operators for the complex type must be defined
>> inside complex (which was/is? not possible).
>
> It should be possible now, I didn't test it though yet.
>
> The question is: should we really restrict the overloads to operators defined
> inside those structures only? What if the user wants to use a class instead
> of a record? Or an object? And what if the operators are only defined global
> like the Variant ones...
Exactly the point I was trying to make.
Michael.
More information about the fpc-pascal
mailing list