$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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