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
_Ty real(const _Ty& _Right) { // set real component
return this->_Val[_RE] = _Right;
}
_Ty imag(const _Ty& _Right) { // set imaginary component
return this->_Val[_IM] = _Right;
}
This is technically a bug, but no user has noticed it. I could devise situations where this would affect conformant code, beyond just decltype.
We'll need to change these functions while implementing #16, so we may as well fix their return types while we're in the neighborhood. This is unlikely to be a significant source breaking change.
The return types of our
complex
setters are incorrect, compared with https://eel.is/c++draft/complex :STL/stl/inc/complex
Lines 534 to 540 in 957fe99
This is technically a bug, but no user has noticed it. I could devise situations where this would affect conformant code, beyond just
decltype
.We'll need to change these functions while implementing #16, so we may as well fix their return types while we're in the neighborhood. This is unlikely to be a significant source breaking change.
(Standardese citations as of WG21-N4835.)
The text was updated successfully, but these errors were encountered: