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

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Mar 19 17:32:00 GMT 2004


"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



More information about the Gcc-bugs mailing list