On Sunday, 15 October 2023 at 07:22:53 UTC, Imperatorn wrote:

You already got a lot of good answers, I thought I'd just share this for anyone searching for nogc string formatting compatible with betterC:

https://code.dlang.org/packages/bc-string

Doesn't it make more sense to use [ParseResult!T parse(T)(cstring str)](https://github.com/tchaloupka/bc-string/blob/master/source/bc/string/conv.d) instead of nested if's here:
https://github.com/tchaloupka/bc-string/blob/master/source/bc/string/numeric.d

Thanks,

SDB@79

Reply via email to