On Sat, January 7, 2017 2:52 pm, Bart wrote:
> On 1/7/17, Andrew Hall <[email protected]> wrote:
>
>
>> If you cast your “something” to a typed pointer, the compiler will
>> do the work for you in the usual way:
>>
>
> But if you know that at forehand (and you know, since you cast it),
> why then use an untyped var parameter at all?
>

Some brave soldiers once tried to reinvent generics using these tricks..


_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to