boost::hash_value

Computes a hash value for a dynamic_bitset.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

template<
    typename B,
    typename A>
std::size_t
hash_value(dynamic_bitset<B, A> const& a);

Description

This enables the use of dynamic_bitset in hash‐based containers such as boost::unordered_map or boost::unordered_set.

Return Value

The computed hash value.

Parameters

Name Description

a

The dynamic_bitset template represents a set of bits.

Created with MrDocs