23 Nov
2005
23 Nov
'05
6:52 p.m.
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
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@acm.org