Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-07-29 16:24:01


> >>In relation to the previous discussion I thought an
> >>alternative container may be a circular_deque that could
> >>have the kind of flexibility with resizing that
> >>also sounds desirable.
>
> Does a circular_deque sound like the right solution
> to your particular application, rather than a
> vector-like resizing contiguous circular buffer?
>
I think these solutions are (mostly) equivalent.

>From practical point of view, adding auto-resize to circular_buffer<> is
easier than creating new container.

/Pavel


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