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
Filed under: Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development