mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:37:44 +00:00
AK: Add CircularDuplexStream class.
This commit is contained in:
parent
8e08d9f70a
commit
a82fead38a
4 changed files with 236 additions and 1 deletions
|
@ -27,13 +27,15 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Assertions.h>
|
||||
#include <AK/Forward.h>
|
||||
#include <AK/StdLibExtras.h>
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace AK {
|
||||
|
||||
template<typename T, size_t Capacity>
|
||||
class CircularQueue {
|
||||
friend CircularDuplexStream<Capacity>;
|
||||
|
||||
public:
|
||||
CircularQueue()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue