This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/33488] parallel v3: std::accumulate uses accumulator of wrong type
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Sep 2007 19:04:30 -0000
- Subject: [Bug libstdc++/33488] parallel v3: std::accumulate uses accumulator of wrong type
- References: <bug-33488-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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