Sebastian,

thanks for your answer.

On Mon, Aug 22, 2011 at 11:40 AM, Sebastian Redl <sebastian.redl@getdesigned.at> wrote:
On 22.08.2011 10:51, Ovanes Markarian wrote:
[...] 

This mismatch is why the split of traversal and access categories was introduced in Boost.Iterator, but it didn't make it into the new standard, and it was never in the old to begin with, so std::advance is not aware of it. What you basically need is a traversal-aware std::advance.
I will try to fix this with a proper reference type. Or what do you mean with traversal-aware std::advance? If it is not a part of the current STD lib, how do I get it? I could also specialize std::advance for my iterator to work correctly, this would be a potential fix.

[...]

With Kind Regards,
Ovanes