From: Neal Becker (ndbecker2_at_[hidden])
Date: 2008-04-07 08:25:20
I use my own implementation of circular buffers which simulate an infinite
buffer that simply wraps around. The indexes are not restricted in either
positive or negative direction. This is a very useful construct (believe
it or not).
It looks like boost::circular_buffer restricts the indexes. I suppose the
straightforward way to use boost::circular_buffer would be derive from it
and add a modulus operation to the indexing?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk