How should to!string handle infinite ranges?
Inkrementator
invalid at invalid.org
Thu Mar 6 19:07:56 UTC 2025
On Tuesday, 4 March 2025 at 10:38:24 UTC, Paul Backus wrote:
> As a D programmer, which behavior would you find more useful or
> less surprising?
Less surprising: Erroring during compilation.
More Useful: Definitely truncating. It will not matter much for
90% of cases but when it does it will be a huge pain to remove
infinite ranges. I also don't see how it could hurt.
More information about the Digitalmars-d
mailing list