diff options
Diffstat (limited to 'chilbert/FixBitVec.hpp')
-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 289334a..610119f 100644 --- a/chilbert/FixBitVec.hpp +++ b/chilbert/FixBitVec.hpp @@ -49,6 +49,12 @@ public: assert(bits <= FBV_BITS); } + CFixBitVec(const size_t bits, const FBV_UINT value) + : m_rack{value} + { + assert(bits <= FBV_BITS); + } + /// Return the size in bits size_t size() const { return FBV_BITS; } |