
16 Apr
2011
16 Apr
'11
12:35 p.m.
Hi Dave, Thank you for your email.
You misspelled "distance_to." Fix the spelling and it should work better.
Indeed a typo. Unfortunately, changing it to the method below does not change anything. The method is never called even though I explicitly call std::distance(), which, I assume, should call eventually distance_to(), facade_t::difference_type distance_to(const data_stream::const_iterator & to) const { abort(); } Cheers, Andrej