#include #include "hack/patterns/ring_buffer.hpp" auto main(int argc, char *argv[]) -> int { hack::patterns::ring_buffer rb; for (int i = 1; i < 12; ++i) rb.put(i); while(!rb.empty()) std::cout << rb.get().value() << std::endl; }