
26 Mar
2006
26 Mar
'06
1:13 p.m.
I have uploaded my current version of cycle_iterator.hpp and cycle_iterator2.hpp to vault, under 'iterators'. These are iterator adaptors that adapt a container to act as a circular or "ring" buffer. I use them extensively for digital signal processing applications. The main usage is to maintain the past history of a signal, for example, for digital filter implementation. IIRC, this is similar, but not identical, to the semantics of circular buffer.