Explanation: What returns pop_front after producer exceeds ringbuffer size ?
lumpidu opened this issue · comments
The documentation is not overly verbose.
I cannot read, what is returned via pop_front()
after the ring buffer producer has already overwritten the current reading position element. Is the reading position moved as well ? Could you explain ?
Yes. When you overfill the buffer the head/front of it moves forward as well.
Thx for clarification. Closing.