| Thread overview | |||||
|---|---|---|---|---|---|
|
April 13, 2013 Vector operations cannot be nothrow? | ||||
|---|---|---|---|---|
| ||||
void f() nothrow { // Error: _arrayExpSliceAddass_i is not nothrow
int[3] d;
d[] += 3;
}
| ||||
April 13, 2013 Re: Vector operations cannot be nothrow? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to simendsjo | 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
| |||
April 14, 2013 Re: Vector operations cannot be nothrow? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to bearophile | 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 | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply