[fpc-devel] Enumerator operator

Michael Van Canneyt michael at freepascal.org
Tue Nov 3 21:02:01 CET 2015




On Tue, 3 Nov 2015, Ondrej Pokorny wrote:

> On 03.11.2015 15:42, Sven Barth wrote:
>> 
>> Am 03.11.2015 13:49 schrieb "Ondrej Pokorny" <lazarus at kluug.net 
>> <mailto:lazarus at kluug.net>>:
>> >
>> > What does the "function search_enumerator_operator" in 
>> compiler/symtable.pas do?
>> >
>> > Does FPC support enumerator operator overloading? If yes, how?
>> >
>> > There doesn't seem to be any information on this topic in the docs: 
>> http://www.freepascal.org/docs-html/3.0.0/ref/refch15.html#x207-22800015
>> >
>> 
>> It's mentioned here: 
>> http://www.freepascal.org/docs-html/3.0.0/ref/refsu60.html#x165-18600013.2.5
>> Maybe a cross reference should be added...
>> 
>
> Thanks! I didn't get the idea to look in the for-in documentation.
>
> If you want to do it systematically then the whole enumerator-operator 
> information should be moved from for-in page into the operator overloading 
> chapter. All operator overloading information is there.

I will create a small section and a cross-reference in operator overloading chapter.

Michael.



More information about the fpc-devel mailing list