[fpc-pascal] Re: operator overloading and counting references / creating / destoying anonymous instances

Florian Klämpfl florian at freepascal.org
Sat Jul 30 21:27:22 CEST 2011


Am 30.07.2011 18:28, schrieb Flávio Etrusco:
>>>
>>> And there is another advantage of using procedures/functions instead of
>>> overloading operators:
>>> You can search for the procedure to look what it actualy does.
>>
>> Not if you use function/procedure overloading. Then the situation is
>> exactly the same as for operators.
>>
> 
> Repeating myself, if there isn't something like CodeTools (i.e. only
> with text search) is way more difficult to search for operator
> declarations.

Why? Searching for operator+ is no more difficult than for function add ?




More information about the fpc-pascal mailing list