From 67f5ee3e565c93db056f76d4574e7f2e110a01fa Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 25 Jul 2026 12:42:27 -0400 Subject: [PATCH] Add `.get()` to return the counter in its natural size. --- Numeric/CircularCounter.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Numeric/CircularCounter.hpp b/Numeric/CircularCounter.hpp index 7846f4112..e7af2423f 100644 --- a/Numeric/CircularCounter.hpp +++ b/Numeric/CircularCounter.hpp @@ -52,6 +52,10 @@ public: return CastT(value_); } + IntT get() const { + return value_; + } + CircularCounter &operator = (const IntT rhs) { value_ = rhs; return *this;