[fpc-devel] Copy() and ZeroBaseStrings

Stefan Glienke sglienke at dsharp.org
Mon Apr 7 19:44:29 CEST 2025


No because the feature is related to the state of the ZBS switch at the source code location, not to the string instance.

> On 07/04/2025 19:40 CEST Bart via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
> 
>  
> On Mon, Apr 7, 2025 at 1:12 PM Marco van de Voort via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
> 
> > IMHO it is a feature better forgotten.
> +1, it's an abomination IMHO ;-)
> 
> Out of curiosity: could the zerobased-ness of the string be stored in
> the string's "header"?
> 
> 
> -- 
> Bart
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


More information about the fpc-devel mailing list