[fpc-devel] Enumerator operator

Ondrej Pokorny lazarus at kluug.net
Tue Nov 3 15:52:19 CET 2015


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.

Compare it e.g. with the arithmetic operators:

http://www.freepascal.org/docs-html/3.0.0/ref/refsu46.html#x148-16900012.8.1 
: *no information about operator overloading.*
because the information is here:
http://www.freepascal.org/docs-html/3.0.0/ref/refse101.html#x211-23200015.4

Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20151103/a9b968bf/attachment.html>


More information about the fpc-devel mailing list