From 16ec07372eaa92e361f66687d6da2d7e5541c0aa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Aug 2018 19:35:53 +0200 Subject: Flesh out bitvec tests --- chilbert/FixBitVec.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chilbert') diff --git a/chilbert/FixBitVec.hpp b/chilbert/FixBitVec.hpp index 05af40e..9df2ada 100644 --- a/chilbert/FixBitVec.hpp +++ b/chilbert/FixBitVec.hpp @@ -40,6 +40,12 @@ typedef uint64_t FBV_UINT; class CFixBitVec { public: + CFixBitVec(int bits = FBV_BITS) + : m_rack{0} + { + assert(bits <= FBV_BITS); + } + /// Return the size in bits int size() const { return FBV_BITS; } -- cgit v1.2.1