a waitfree, lockfree ringbuffer using convenient additions to the c++ standard