[Bug libstdc++/33488] parallel v3: std::accumulate uses accumulator of wrong type
singler at ira dot uka dot de
gcc-bugzilla@gcc.gnu.org
Wed Sep 19 18:34:00 GMT 2007
------- Comment #1 from singler at ira dot uka dot de 2007-09-19 18:34 -------
Instead of std::plus, a functor should be used that accepts two different types
for LHS and RHS, Result and
std::iterator_traits<RandomAccessIterator>::value_type, respectively.
--
singler at ira dot uka dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |singler at ira dot uka dot
| |de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33488
More information about the Gcc-bugs
mailing list