Default-valued nothrow @nogc std.conv:to
Nordlöw via Digitalmars-d
digitalmars-d at puremagic.com
Sat Apr 22 09:41:00 PDT 2017
On Saturday, 22 April 2017 at 15:36:56 UTC, Stanislav Blinov
wrote:
> 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.
What do you mean with "potentially wasteful"?
Excess calls to copy constructors?
More information about the Digitalmars-d
mailing list