https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84612
--- Comment #3 from niva at niisi dot msk.ru ---
Thank you very much!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84612
--- Comment #2 from Jonathan Wakely ---
For completeness, the standard says that the operator is defined like this:
template valarray operator*(const valarray&, const T&);
That's what libstdc++ provides, and it fails to deduce T in your example
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84612
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---