Update to “Delphi operator overloading: table of operators”: added the `in` operator
Posted by jpluimers on 2015/02/02
Because of Delphi sorcery: New dynamic array type in Spring4D 1.2, I updated this article from 2009: Delphi operator overloading: table of operators, names, and some notes on usage and ‘glitches’.
When I wrote the original article in 2009 the in operator wasn’t documented to be overloadable.
It is overloadable, and newer documentation includes it: http://docwiki.embarcadero.com/RADStudio/en/Operator_Overloading_%28Delphi%29.
In addition I clarified a few things better (like not needing to return Boolean for comparison and set operators) and fixed a few typos and links.
The glitches are still there, so I’ve kept those.
–jeroen






Leave a comment