Ryan Joseph via fpc-devel <[email protected]> schrieb am Fr.,
23. Apr. 2021, 00:53:

>
>
> > On Apr 21, 2021, at 11:21 PM, Sven Barth <[email protected]>
> wrote:
> >
> > You need to use named types, though for operators this is less useful,
> because the compiler will implicitly convert different ShortString types to
> find a suitable operator overload:
>
> Then the compiler must do this for all strings types by default right?
>

For the compiler it's more often than not simply a stringdef with the
string type set to st_shortstring. The length of that stringdef comes into
play much less often.

Regards,
Sven

>
_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to