On Wednesday, 14 December 2022 at 01:47:29 UTC, Steven
Schveighoffer wrote:
>
> ```d
> void main() @nogc
> {
> import std.conv;
> auto v = "42".to!int;
> }
> ```
I have been wondering why there isn't a basic variation like this
available:
```d
auto i = "42".toOr!int(-1);
auto s = i.toOr!string(null);
```