This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug libstdc++/9679] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]