MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / CircularQueue

Function CircularQueue

Libraries/AsyncStreams/Internal/CircularQueue.h:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21struct SC_ASYNC_STREAMS_EXPORT CircularQueue
22{
23 constexpr CircularQueue() = default;
24 constexpr CircularQueue(Span<T> buffer) : buffer(buffer) {}
25
26 [[nodiscard]] size_t size() const { return buffer.sizeInElements(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected