Now I can see how that can be very useful, and certainly a lot cleaner
and less error-prone. I do wonder what it will do in regards to
suppressing that annoying "uninitialized variable" warning though when
passing said variable into FillChar to, you know, actually initialise it!
Admittedly,
Op 2019-05-31 om 18:36 schreef Alexander Grotewohl:
can't you just use an untyped parameter in a clearmem procedure you
make yourself?
procedure ClearMem(var m);
You don't get size that way, and you have to pass it separately (see
e.g. blockread/write).
It was one of the setbacks when I
can't you just use an untyped parameter in a clearmem procedure you make yourself?procedure ClearMem(var m);--Alexander Grotewohlhttp://dcclost.com___
fpc-devel maillist - fpc-devel@lists.freepascal.org
> On May 30, 2019, at 4:18 PM, Ryan Joseph wrote:
>
> I didn’t realize generic functions were in the trunk. I’m not sure I got this
> implemented properly so it requires some code review but can we try to
> include “implicitfunctionspecialization” mode switch in the next release
> along the