aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/kstd/kstd/ring_buffer.hpp5
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