This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofTC1 status.
Section: 29.6.2[template.valarray]Status:TC1Submitter: Judy WardOpened: 1998-12-15Last modified: 2016-01-28
Priority:Not Prioritized
View all otherissues in [template.valarray].
View all issues withTC1 status.
Discussion:
In Section 29.6.2[template.valarray] valarray<T>::operator!() isdeclared to return a valarray<T>, but in Section 29.6.2.6[valarray.unary] it is declared to return a valarray<bool>. Thelatter appears to be correct.
Proposed resolution:
Change in Section 29.6.2[template.valarray] the declaration ofoperator!() so that the return type isvalarray<bool>.