Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2002-02-10 08:12:50


> > Am I missing something or is a fixed capacity deque some kind of
oxymoron?
> > The issue is that the only difference between a vector and a deque is
in
> > the way that memory management is conducted, so if there isn't any
memory
> > management then what's the point? A fixed cyclic buffer however would
be
> a
> > good idea. Or have I got this backwards?
>
> Well, a fixed cyclic buffer is a fixed deque, as I understand it. A
vector
> has push/pop_back, a deque has push/pop_back/front.

Yes, of course! I don't think that either of my remaining brain cells were
talking to each other that day :-)

Anyway in that case I'm very happy with the concept,

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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