id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11558,boost transform iterator doesn't work with libc++,rnickb731@…,jeffrey.hellrung,"The following code won't compile with clang using these options: clang++ -std=c++14 -stdlib=libc++ main.cpp #include #include double f(int i) { return i; } int main() { auto i = boost::make_transform_iterator(boost::make_counting_iterator(3), f); std::next(i); return 0; } It gives me this error: main.cpp:8:3: error: no matching function for call to 'next' std::next(i); ^~~~~~~~~ /usr/local/bin/../include/c++/v1/iterator:510:25: note: candidate template ignored: disabled by 'enable_if' [with _ForwardIter = boost::iterators::transform_iterator, boost::iterators::use_default, boost::iterators::use_default>] typename enable_if<__is_forward_iterator<_ForwardIter>::value>::type* = 0) ^ 1 error generated.",Bugs,closed,To Be Determined,iterator,Boost 1.57.0,Problem,invalid,,