About string and int spliced together.
Stanislav Blinov
stanislav.blinov at gmail.com
Thu Jun 18 14:27:42 UTC 2020
On Thursday, 18 June 2020 at 14:24:40 UTC, Steven Schveighoffer
wrote:
> On 6/18/20 10:04 AM, Stanislav Blinov wrote:
>> On Thursday, 18 June 2020 at 13:59:42 UTC, Steven
>> Schveighoffer wrote:
>>
>>> age.to!string will allocate a temporary string just to throw
>>> it away. text will not do that.
>>>
>>
>> Wouldn't it?
>>
>> https://github.com/dlang/phobos/blob/master/std/conv.d#L4193
>
> Yikes. Let me rephrase.
Let's rephrase it then ;)
https://issues.dlang.org/show_bug.cgi?id=20950
More information about the Digitalmars-d
mailing list