
18 Jul
2006
18 Jul
'06
4:54 p.m.
"Sean Huang"
My question is why limiting the last three template parameters to default in counting_iterator::distance_to.
Sorry, I don't understand the question. The only thing that's limited here is that you can only compare counting iterators that have the same CategoryOrTraversal and Difference parameters. That might be a bit shortsighted; maybe we should have additional template arguments to distance_to. -- Dave Abrahams Boost Consulting www.boost-consulting.com