Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-07-18 12:54:18


"Sean Huang" <huangsean_at_[hidden]> writes:

> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net