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]

[Bug libstdc++/33490] parallel v3: std::accumulate assumes iterators have std::iterator_traits declared



------- 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


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