diff options
Diffstat (limited to 'chilbert')
-rw-r--r-- | chilbert/FixBitVec.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |