What are best practices around toString?
Salih Dincer
salihdb at hotmail.com
Sat Oct 1 10:02:34 UTC 2022
On Saturday, 1 October 2022 at 08:26:43 UTC, tsbockman wrote:
> So, the first `toString` overload defines how to format the
> value to text, while the second overload does memory management
> and forwards the formatting work to the first.
>
> `StringBuilder` is a utility shared across the entire project:
Appender not good enough; at least in terms of allocating memory
and accumulating a string?
Thanks...
SDB at 79
More information about the Digitalmars-d-learn
mailing list