<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Ondrej Pokorny via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> schrieb am Do., 2. Feb. 2023, 12:09:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Delphi cannot do it. FPC rocks!<br>
<br>
The only disadvantage is that you get a FreeAndNil copy for every type <br>
you pass into the parameter (?)<br>
<br>
Do we want to change it in SysUtils? :)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">As you might have noticed you need to add a modeswitch to enable this and this modeswitch is there for a reason (namely that this could lead to wrong code being used). So by default no one would benefit from this addition and probably not even know that it's there. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>