Boost logo

Boost Users :

Subject: Re: [Boost-users] iterator_facade and distance()
From: Andrej van der Zee (andrejvanderzee_at_[hidden])
Date: 2011-04-16 08:35:29

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

   facade_t::difference_type distance_to(const
data_stream::const_iterator & to) const


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at