Boost logo

Boost :

Subject: Re: [boost] [review] The review of Boost.DoubleEnded starts today: September 21 - September 30
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2017-10-30 23:25:13


On 30/10/2017 19:27, Thorsten Ottosen via Boost wrote:
>> That could be implemented if capacity() is defined as:
>>
>> max(size(), min(back_capacity(), front_capacity());
>
> Is this not just equivalent to
>
>   min(back_capacity(), front_capacity())
>
> given that back/front_capacity >= size()?

Right. Good catch.


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