https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113160
Bug ID: 113160
Summary: Const valarray (g)slice and indirect_array fail to
match valarray in template functions
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113160
--- Comment #2 from Yihua Liu ---
It seems that llvm member considers it a bug, see llvm-project Issue #76450.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113160
--- Comment #5 from Yihua Liu ---
I see. Previous cppreference notes were misleading. Is there any plan to
support returning a std::valarray or matching a std::valarray? For example, if
it returns a std::valarray, it can be directly put in a pip