circular_buffer.hpp file

Namespaces

namespace mt

Classes

template<typename T>
class mt::circular_buffer
A generic circular buffer implementation. Similar to the job queue, it can be used to implement the consumer-producer pattern, but this implementation is cache-friendlier since we use a contiguous array as our data store.