
19 Oct
2011
19 Oct
'11
5:01 p.m.
Olaf wrote on Wednesday, October 19, 2011 at 1:30:03:
Hi,
iterator_range returns a signed size. Is this correct? IMO it should return size_t.
given two arbitrary valid random access iterators (from one range) let you know the distance between them it is either positive or negative (or 0) dependent on the order of the given iterators i'd say difference type should be ptrdiff_t in the general case -- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out