On 8/12/12, Jonathan M Davis <[email protected]> wrote: > Can anyone think of any situation where an infinite bidirectional range > would > make any sense at all?
Cyclic buffers? At least in audio it's common to play buffer samples in a loop and even play them in reverse. I'd imagine internally C/++ apps just have an index which is inc/dec'remented based on a setting, and once the index is 0 or lengthOf(array) and depending on the reverse switch the index is reset to its beginning position.
