aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert/BoundedBitVec.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chilbert/BoundedBitVec.hpp')
-rw-r--r--chilbert/BoundedBitVec.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/chilbert/BoundedBitVec.hpp b/chilbert/BoundedBitVec.hpp
index 30ab21e..79912cc 100644
--- a/chilbert/BoundedBitVec.hpp
+++ b/chilbert/BoundedBitVec.hpp
@@ -34,6 +34,13 @@
namespace chilbert {
+/** A statically allocated bit vector with a dynamic size.
+ *
+ * This can be used to have bit vectors of an arbitrary dynamic size, under
+ * some static bound, without using dynamic allocation.
+ *
+ * @tparam MaxN Maximum number of bits.
+ */
template <size_t MaxN>
class BoundedBitVec : public MultiBitVec<BoundedBitVec<MaxN>>
{