[fpc-pascal] Feature announcement: implicit generic function specializations
Marco van de Voort
fpc at pascalprogramming.org
Mon Apr 25 12:10:59 CEST 2022
On 25-4-2022 11:11, Sven Barth via fpc-pascal wrote:
> Then you don't think creative enough. Think about (de)serialization
> code for binary data which needs to use the correct size. If done
> correctly this can very well be handled with a generic.
>
Actually that's what I immediate thought of too, but nearly all also
have string as type. Can this be solved by having a specific overloaded
version for string ?
I'm thinking of things like TStream helpers in streamex.
More information about the fpc-pascal
mailing list