mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
11 lines
267 B
C++
11 lines
267 B
C++
|
|
#include <iostream>
|
|
#include "CircularBuffer.h"
|
|
|
|
// Print CircularBuffer status to a stream (debug)
|
|
std::ostream &operator<<(std::ostream &os, const CircularBuffer &c)
|
|
{
|
|
os << "size=" << c.size() << " used=" << c.used() << " free=" << c.free();
|
|
return os;
|
|
}
|