Default-valued nothrow @nogc std.conv:to
Stanislav Blinov via Digitalmars-d
digitalmars-d at puremagic.com
Sat Apr 22 08:36:56 PDT 2017
On Saturday, 22 April 2017 at 12:16:19 UTC, Nordlöw wrote:
> On Saturday, 22 April 2017 at 12:14:26 UTC, Nordlöw wrote:
>> Is there any way I can make it `@nogc` without having to
>> modify the code in `std.conv`?
>
> If I get this to work, I'm gonna try pushing it into std.conv.
If defaultValue is not lazy, it's potentially wasteful. But at
the moment, lazy are never inferred as nothrow:
https://issues.dlang.org/show_bug.cgi?id=12647
More information about the Digitalmars-d
mailing list