[fpc-pascal] Feature proposal: function-based assignment operators

Xiangrong Fang xrfang at gmail.com
Fri Mar 29 12:41:59 CET 2013


>
> No, there is no difference, because even if we would implement support for
> "function based operators" we would not implement any default ones or only
> provide them with an additional unit. So you either need to implement them
> yourself or use an additional unit anyway.


I mean, with the proposed way, you can just use all predefined functions,
such as Min or Max, also, it is much easier to just define a function than
write a class helper. But anyway, these are only little tricks...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130329/d494788a/attachment.html>


More information about the fpc-pascal mailing list