
22 Jul
2006
22 Jul
'06
12:14 p.m.
"Sean Huang"
To do what you want, shouldn't it be:
template < class OtherIncrementable > difference_type distance_to(counting_iterator
const& y) const; Maybe the compiler is wrong?
You're right; this is certainly a bug. Would you care to submit a bug report at sourceforge? Thank you! -- Dave Abrahams Boost Consulting www.boost-consulting.com