can you add main() that uses this class as a ring or circular buffer?. i created template based of a ring buffer that works ok. i have to clean it up , then i 'll post it.