|
Boost Users : |
From: Thomas Witt (witt_at_[hidden])
Date: 2005-11-23 13:52:55
Martin,
Martin Weigel wrote:
> Hi,
>
> counting_iterator.hpp defines the distance_to() member function as follows
> (from CVS HEAD),
>
> template <class OtherIncrementable>
> difference_type
> distance_to(counting_iterator<OtherIncrementable> const& y) const
> {
> ...
>
> typedef counting_iterator<Incrementable, CategoryOrTraversal, Distance>
> it_type;
> it_type::distance_to(it_type const&)
>
> cannot be instantiated from the above template, resulting in a compile-time
> error.
You are right I'll fix this for 1.34.
Thanks
Thomas
-- Thomas Witt witt_at_[hidden]
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