Opened 9 years ago

Last modified 9 years ago

#9726 reopened Bugs

transform_iterator does not compile on SUN with Cstd STL

Reported by: Yevgeniy Shaporynskyy <shaporynskyy@…> Owned by: jeffrey.hellrung
Milestone: To Be Determined Component: iterator
Version: Boost 1.54.0 Severity: Problem
Keywords: SUN, iterator Cc:

Description

boost/iterator/transform_iterator.hpp:49

... typename std::iterator_traits<Iterator>::reference ...

should read:

... typename boost::detail::iterator_traits<Iterator>::reference ...

otherwise it fails to compile on SUN with old Cstd STL that does not have proper iterator_traits<>. All other classes already use boost::detail::iterator_traits<>

Change History (3)

comment:1 by Steven Watanabe, 9 years ago

Resolution: wontfix
Status: newclosed

This compiler/standard library combination is not supported. If some components happen to work, that's great, but it's just too broken in general.

comment:2 by shaporynskyy@…, 9 years ago

Well, then it is just inconsistent, all other classes already use boost::detail::iterator_traits<>. That was the only place that uses std::iterator_traits<>.

It does not look like it was done by design, but rather omission.

BTW, we are stuck with old STL, there is no way we can upgrade it, libraries with different STL versions cannot co-exist in one process space and we use some stubborn big name COTS that does not want to move on. We successfully built and tested majority of Boost libs with it, with very minimal intervention.

It's things like this that make work miserable...

comment:3 by anonymous, 9 years ago

Resolution: wontfix
Status: closedreopened
Note: See TracTickets for help on using tickets.