Boost logo

Boost :

Subject: Re: [boost] [Range] Confusing result of iterator_range::size()
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-11-07 07:16:57

On Fri, Nov 4, 2011 at 12:27 PM, Olaf van der Spek <ml_at_[hidden]> wrote:
> On Fri, Nov 4, 2011 at 11:02 AM, Thorsten Ottosen
> <thorsten.ottosen_at_[hidden]> wrote:
>>> My concern was about a.size()<  b.size() where one size() returns a
>>> signed type and the other an unsigned type.
>> Yes, that happens a lot in C++. Not much we can do about it.
> We could ensure all size() return an unsigned type.
> What about ptr_range?



Boost list run by bdawes at, gregod at, cpdaniel at, john at