I need a linear ring buffer using the double mapping trick and was about to write one, but googled my potential class name and found your project. Thanks for open sourcing it.
Here are a few tweaks of mine you may like to consider merging into your original project. I use your container with uint16_t size type and with the changes I can trim down the size of the container object to 16 bytes, which is important for my use case.
I need a linear ring buffer using the double mapping trick and was about to write one, but googled my potential class name and found your project. Thanks for open sourcing it.
Here are a few tweaks of mine you may like to consider merging into your original project. I use your container with
uint16_t
size type and with the changes I can trim down the size of the container object to 16 bytes, which is important for my use case.