Ryan Joseph via fpc-devel <fpc-devel@lists.freepascal.org> schrieb am Fr.,
23. Apr. 2021, 00:53:

>
>
> > On Apr 21, 2021, at 11:21 PM, Sven Barth <pascaldra...@googlemail.com>
> 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  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to