How to implement immutable ring buffer?

thedeemon via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 27 04:04:27 PDT 2015


This whole idea sounds self-contradictory.
Ring buffer is a mutable-array-based implementation of something, 
for example of a queue. You can ask about immutable 
implementations of a queue, but that would be another question, 
not involving a ring buffer.

What do you want to do with this buffer, what do you need it for?


More information about the Digitalmars-d-learn mailing list