id summary reporter owner description type status milestone component version severity resolution keywords cc 3659 warning when using boost::counting_iterator and std::vector on MSVC anonymous Dave Abrahams "This code causes the warnings: #include #include int main() { boost::counting_iterator begin, end; std::vector v(begin, end); return 0; } warning C4244: '+=' : conversion from '__int64' to 'unsigned int', possible loss of data 1> e:\program files\microsoft visual studio 8\vc\include\xutility(1702) : see reference to function template instantiation 'void std::_Distance2<_InIt,_Diff>(_RanIt,_RanIt,_Diff &,std::random_access_iterator_tag)' being compiled 1> with 1> [ 1> _InIt=boost::counting_iterator, 1> _Diff=unsigned int, 1> _RanIt=boost::counting_iterator 1> ] " Bugs closed Boost 1.42.0 iterator Boost 1.41.0 Cosmetic invalid