[Bug libstdc++/9679] Strange behaviour of valarray::apply method

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Fri Mar 19 17:32:00 GMT 2004


------- Additional Comments From gdr at integrable-solutions dot net  2004-03-19 17:32 -------
Subject: Re:  Strange behaviour of valarray::apply method

"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:

| Gaby, could you please provide an update about this PR?

I think I gave all necessary information in the initial analysis I
made. Did you find something is out of date?

Personally, I would resolve this as won't fix, or at least suspend. 
There is a trivial workaround

    char some = foo(&valarray<char>(y.apply(bar))[0]);

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9679



More information about the Gcc-bugs mailing list