[Bug libstdc++/33490] parallel v3: std::accumulate assumes iterators have std::iterator_traits declared
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 19 19:11:00 GMT 2007
------- Comment #2 from bangerth at dealii dot org 2007-09-19 19:11 -------
(In reply to comment #1)
> That this is missing in the requirement lists in 24.1.1 and 24.1.2 is probably
> due to the fact that it does not concern the Iterator class itself, but
> iterator_traits<Iterator>.
I disagree with this interpretation. For me, Table 72 states the requirements
that InputIterators have to satisfy. It doesn't list defining iterator_traits,
and I don't think 24.3.1 wants to come back and add this requirement.
This also appears to be the interpretation that libstdc++ takes in most
places.
What do others think about this?
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33490
More information about the Gcc-bugs
mailing list