The reset() function in ringbuffer_base:
Compilation Failure: Calls consume_all with missing parameters (internal_buffer and max_size).
void reset(void) {
if (!std::is_trivially_destructible<T>::value) {
consume_all([](const T&) {}); // Missing `buffer` and `max_size`!
} else {
write_index_.store(0, memory_order_relaxed);
read_index_.store(0, memory_order_release);
}
}