diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-09-30 15:31:36 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-09-30 15:31:36 +0200 |
| commit | 1c9f678aa0496721317698c2c6aef559af0495c9 (patch) | |
| tree | 495f7703daffd2d4cfe32f309df2889ce93780ca /libs/kstd | |
| parent | 712ac5310b6f3d064219bf4db2a4af3a98362c12 (diff) | |
| download | kernel-1c9f678aa0496721317698c2c6aef559af0495c9.tar.xz kernel-1c9f678aa0496721317698c2c6aef559af0495c9.zip | |
kstd: ring_buffer: add do sections
Diffstat (limited to 'libs/kstd')
| -rw-r--r-- | libs/kstd/kstd/ring_buffer.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/kstd/kstd/ring_buffer.hpp b/libs/kstd/kstd/ring_buffer.hpp index 427b31df..2949988e 100644 --- a/libs/kstd/kstd/ring_buffer.hpp +++ b/libs/kstd/kstd/ring_buffer.hpp @@ -15,6 +15,9 @@ namespace kstd { using size_type = std::size_t; + //! @name Capacity + //! @{ + //! Get the maximum number of elements this ring buffer can hold. //! //! @return The number of elements that can fit in this ring buffer. @@ -34,6 +37,8 @@ namespace kstd return capacity(); } + //! @} + }; } // namespace kstd |
