
19 Oct
2011
19 Oct
'11
7:55 p.m.
On Wednesday, October 19, 2011 12:27:31 Jeffrey Lee Hellrung, Jr. wrote:
In any case, it's some irrelevant for non-random-access iterators as iterator_range::size() is only defined for random access iterators, no?
Sorry, I was a bit hasty in my previous reply. Yes, I'm surprised to say that iterator_range::size() is implemented for random access iterators only. Nevertheless, there's still no reason to make its return type signed.