From: Darren Cook (darren_at_[hidden])
Date: 2004-10-29 06:56:00
>>>You may find cycle_iterator useful. I have uploaded to files area:
>>I had a look but wasn't sure where it fits in - is it an alternative to
> Yes. The behaviour of circular_buffer and cycle_iterator are not the same.
> I grabbed the latest circular_buffer.zip from FILES, but there is no doc.
The docs start at circular_buffer/libs/circular_buffer/index.html. The file
I downloaded was circular_buffer_v3.6.zip.
> AFAICT, the main difference is that cycle_iterator is meant to be a fixed
> size, while I believe circular_buffer is variable size up to a maximum?
> cycle_iterator (and Ring) are also smaller and simpler code.
I think circular_buffer can be either fixed or variable size, but I've only
glanced at the docs so far so I'll leave it to the author to discuss pros
and cons with you :-).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk