Debug help - Programming in D - extending tail slice terminates sharing unexpectedly. Page 69, 70
monkyyy
crazymonkyyy at gmail.com
Tue Oct 21 23:16:48 UTC 2025
On Tuesday, 21 October 2025 at 10:28:52 UTC, Brother Bill wrote:
> On Tuesday, 21 October 2025 at 02:42:07 UTC, monkyyy wrote:
>> On Tuesday, 21 October 2025 at 02:08:41 UTC, Brother Bill
>> wrote:
>>>
>>> If there are valid cases where breaking sharing is
>>> intentional and useful, kindly share some of those scenarios.
>>
>> appending a null to a string for toStringz
>
> Do you mean appending an ASCII NUL character 0x00 to a string
> to make it C language friendly?
yes
More information about the Digitalmars-d-learn
mailing list