I'm wondering if there's some efficient way to hash std::bitset
or boost::dynamic_bitset<>
for Boost's unordered containers?
I'm currently converting std::bitset
or boost::dynamic_bitset<>
to std::string
first before hashing them, but it seems this is going to be slow.
Is there some better way?