scc 2025.09
SystemC components library
ring_buffer.h File Reference
#include <cassert>
#include <memory>
#include <stdexcept>
#include <vector>
Include dependency graph for ring_buffer.h:

Go to the source code of this file.

Classes

class  util::ring_buffer< T >
 Circular buffer. More...
class  util::ring_buffer< T >::iterator_type< C_ >
 Iterator through the circular buffer. More...

Namespaces

namespace  util
 SCC common utilities.

Detailed Description

Simple circular (ring) buffer class

(c) Mircea Neacsu 2018-2021. Licensed under MIT License. This is part of MLIB project. See README file for full license terms. (https://github.com/neacsum/mlib#readme)

Definition in file ring_buffer.h.