|
Boost : |
Subject: Re: [boost] difference_type size()?
From: andrey.semashev_at_[hidden]
Date: 2011-10-19 15:55:09
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk