Subject: Re: [boost] [review] The review of Boost.DoubleEnded starts today: September 21 - September 30
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2017-09-27 18:28:40
Den 26-09-2017 kl. 09:50 skrev degski via Boost:
> 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.
It's definitely something to ponder. At the moment there is an asymmetry
between clear and the expectation of where to push things next.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk