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 10:10:59


On Mon, Nov 7, 2011 at 4:03 PM, Thorsten Ottosen
<thorsten.ottosen_at_[hidden]> wrote:
> Den 07-11-2011 13:16, Olaf van der Spek skrev:
>>
>> On Fri, Nov 4, 2011 at 12:27 PM, Olaf van der Spek<ml_at_[hidden]>  wrote:
>
>>> We could ensure all size() return an unsigned type.
>>>
>>> What about ptr_range?
>
> We do not need a new class for this.

Will you fix it by using make_unsigned then?

Also, don't forget data()

https://svn.boost.org/trac/boost/ticket/5930


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk