You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[parallel.simd.reference] Fix swap value_type params to be lvalues
In the class definition of `simd::reference` the `value_type` parameters for
`swap()` are rvalue references. This does not make sense; `swap()` must
accept lvalue-references to `value_type` to be able to exchange the referred
values.
The detailed description of `swap()` in §16 already correctly uses
lvalue-references for the `value_type` parameters.
Also, http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0214r9.pdf uses
lvalue-reference `value_type` parameters already in the `swap()` declaration
in the definition of the `simd::reference` class.
0 commit comments