https://rtlery.com/components/generic-fifo
example project from my presentation
Discrete Algorithms and Data Structures Library