Title
valarray<T>::operator!() return type is inconsistent
Status
tc1
Section
[template.valarray]
Submitter
Judy Ward

Created on 1998-12-15.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change in Section [template.valarray] the declaration of operator!() so that the return type is valarray<bool>.

Date: 1998-12-15.00:00:00

In Section [template.valarray] valarray<T>::operator!() is declared to return a valarray<T>, but in Section [valarray.unary] it is declared to return a valarray<bool>. The latter appears to be correct.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg1316
1998-12-15 00:00:00admincreate