Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-07-22 08:14:55


"Sean Huang" <huangsean_at_[hidden]> writes:

> To do what you want, shouldn't it be:
>
> template < class OtherIncrementable >
> difference_type
> distance_to(counting_iterator<OtherIncrementable, CategoryOrTraversal,
> Difference > 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net