29 #ifndef CDPL_UTIL_BITSET_HPP
30 #define CDPL_UTIL_BITSET_HPP
32 #include <boost/dynamic_bitset.hpp>
46 typedef boost::dynamic_bitset<>
BitSet;
62 for (std::size_t i = 0, new_num_bits = bs.size() >> 1; i < num_times; i++, new_num_bits >>= 1) {
67 bs.resize(new_num_bits);
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
void fold(BitSet &bs, std::size_t num_times)
Folds the bitset bs the specified number of times.
Definition: BitSet.hpp:58
The namespace of the Chemical Data Processing Library.