Vector operations cannot be nothrow?

bearophile bearophileHUGS at lycos.com
Sat Apr 13 12:11:40 PDT 2013


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


More information about the Digitalmars-d-learn mailing list