Re: [fpc-devel] for .. in documentation and classes based iterators.

2019-09-03 Thread Michael Van Canneyt
On Tue, 3 Sep 2019, Marco van de Voort wrote: Op 2019-09-03 om 12:59 schreef Michael Van Canneyt: "5. Any type for which an enumerator operator is defined. The enumerator operator must return a structured type that implements the IEnumerator interface. The type of the control variable’s t

Re: [fpc-devel] for .. in documentation and classes based iterators.

2019-09-03 Thread Marco van de Voort
Op 2019-09-03 om 12:59 schreef Michael Van Canneyt: "5. Any type for which an enumerator operator is defined. The enumerator operator must return a structured type that implements the IEnumerator interface. The type of the control variable’s type must equal the type of the enumerator’s GetCu

Re: [fpc-devel] for .. in documentation and classes based iterators.

2019-09-03 Thread Michael Van Canneyt
On Tue, 3 Sep 2019, Marco van de Voort wrote: I did an initial patch to add for..in iterator support in fcl-stl ghashmap (https://bugs.freepascal.org/view.php?id=35940) I've looked at the docs of for..in, and it doesn't seem to name the delphi getenumerator() method in its options. I assu