Vector operations cannot be nothrow?

simendsjo simendsjo at gmail.com
Sun Apr 14 11:24:20 PDT 2013


On Saturday, 13 April 2013 at 19:11:42 UTC, bearophile wrote:
> simendsjo:
>
>>    void f() nothrow { // Error: _arrayExpSliceAddass_i is not 
>> nothrow
>>        int[3] d;
>>        d[] += 3;
>>    }
>
> Currently those ops are not nothrow. I think they will 
> eventually become nothrow...
>
> Bye,
> bearophile

Filed a bug: http://d.puremagic.com/issues/show_bug.cgi?id=9933


More information about the Digitalmars-d-learn mailing list