Add .get() to return the counter in its natural size.

This commit is contained in:
Thomas Harte committed 2026-07-25 12:42:27 -04:00
1 parent 136003af7d
commit 67f5ee3e56
1 file changed
+4
+4
View File
@@ -52,6 +52,10 @@ public:
return CastT(value_);
}
IntT get() const {
return value_;
}
CircularCounter &operator = (const IntT rhs) {
value_ = rhs;
return *this;