[Bug libstdc++/33488] parallel v3: std::accumulate uses accumulator of wrong type

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 19 19:04:00 GMT 2007



------- Comment #2 from bangerth at dealii dot org  2007-09-19 19:04 -------
As I've said in the other report, I believe you shouldn't rely on the
existence of iterator_traits for the iterator type. You should use the
return type of dereferencing the iterator.

W.


-- 


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



More information about the Gcc-bugs mailing list