Boost logo

Boost :

Subject: Re: [boost] [review] The review of Boost.DoubleEnded starts today: September 21 - September 30
From: degski (degski_at_[hidden])
Date: 2017-09-26 07:50:06


On 26 September 2017 at 09:33, degski <degski_at_[hidden]> wrote:

> Then looking how the free_capacity is split between front and back we get
> 95 and 23 (or the other way around, depending on whether we first push_back
> or first push_front, even when front- and back-pushes are interleaved).
>

Maybe a rebalance ( size_type hint ) member function could address this
issue and relocate the "zero-point" to the hinted at position (possible
safe and unsafe). A clear ( size_type hint ) could do the same on clearing.

degski

-- 
"*Ihre sogenannte Religion wirkt bloß wie ein Opiat reizend, betäubend,
Schmerzen aus Schwäche stillend.*" - Novalis 1798

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