[fpc-devel] Redefine FillChar() to use out parameter instead
florian at freepascal.org
Thu Nov 19 10:36:40 CET 2009
Vincent Snijders schrieb:
> Graeme Geldenhuys schreef:
>> Florian Klaempfl wrote:
>>>> I see many use-cases for out parameters
>>> You mean for VAROUT parameters :)?
>> First one is not compilable, but the second one is. So no, I don't
>> understand your comment about 'varout'? Please explain more.
> varout could be the name of the new parameter modifier that Jonas
> mentions and that has the semantics that you think out should have,
> but hasn't.
The problem with varout is that it easily creates memory leaks with
More information about the fpc-devel