Cannot Qualify Variadic Functions with Lazy Arguments as nothrow
anonymous via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu May 14 11:07:50 PDT 2015
On Thursday, 14 May 2015 at 09:53:20 UTC, Per Nordlöw wrote:
> I'm almost satisified with it except that the lazy evaluation at
>
> https://github.com/nordlow/justd/blob/master/algorithm_ex.d#L45
>
> cannot be made nothrow.
>
> If I qualify the function as nothrow DMD complains as
>
> algorithm_ex.d(45,16): Error: 'a' is not nothrow
> algorithm_ex.d(46,29): Error: '_param_1' is not nothrow
https://issues.dlang.org/show_bug.cgi?id=12647
More information about the Digitalmars-d-learn
mailing list