------- Comment #9 from pcarlini at suse dot de 2006-01-30 01:09 ------- (In reply to comment #7) > reading the standard specification let me under the impression that > Distance is supposed to "related" to difference_type. For example > the distance between the p before and after calling distance(p, n) is > supposed to be n. So I would suggest conversion to the > difference_type of the iterator as a momentary resolution.
Excellent idea. > I'm not sure the resolution would introduce an ABI breakage, so I > would say let's do both; but I'm open to other alternatives. Agreed, let's implement your suggestion and send a note to the reflector (and Martin, already working on the Size issue). Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26020