id summary reporter owner description type status milestone component version severity resolution keywords cc 1860 zip_iterator::value_type should not be reference anonymous Mathias Gaunard "hi, defining zip_iterator::value_type in the boost.iterator library to be the same as the reference type breaks some mutating algorithms on zip_iterators. for example sort: {{{ template void array_multisort(Array1& array1, Array2& array2) { using namespace boost; std::sort(make_zip_iterator(make_tuple(array1.begin(), array2.begin())), make_zip_iterator(make_tuple(array1.end(), array2.end()))); } }}} won't work as expected. Patching zip_iterator to provide a more natural value_type makes the above code work as intended. The patch is attached to this message. mfg thomas " Bugs closed Boost 1.36.0 iterator Boost 1.35.0 Problem duplicate