------- Comment #4 from paolo dot carlini at oracle dot com 2008-09-03 11:34 ------- This is not a bug, see 26.3.1/3: "Any function returning a valarray<T> is permitted to return an object of another type, provided all the const member functions of valarray<T> are also applicabel to this type". CC-ing Gaby, to be sure.
-- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gdr at cs dot tamu dot edu Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37347