3 #include <boost/version.hpp>
5 #if BOOST_VERSION < 107100
9 #include <boost/dynamic_bitset.hpp>
14 template<
typename Block,
typename Allocator>
15 struct hash<boost::dynamic_bitset<Block,Allocator>> {
16 std::size_t operator()(
const boost::dynamic_bitset<Block,Allocator>& bs)
const {
17 std::size_t seed = bs.size();
Utility functor to hash a sequence of object using an output iterator.