mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-19 04:12:09 +00:00
Document our overload of hash_value()
This commit is contained in:
@@ -1104,6 +1104,14 @@ public:
|
||||
template< typename B, typename A, typename StringT >
|
||||
friend void to_string_helper( const dynamic_bitset< B, A > & b, StringT & s, bool dump_all );
|
||||
|
||||
//! Computes a hash value for a `dynamic_bitset`.
|
||||
//!
|
||||
//! This enables the use of `dynamic_bitset` in hash-based
|
||||
//! containers such as `boost::unordered_map` or
|
||||
//! `boost::unordered_set`.
|
||||
//!
|
||||
//! \return The computed hash value.
|
||||
// -----------------------------------------------------------------------
|
||||
template< typename B, typename A >
|
||||
friend std::size_t hash_value( const dynamic_bitset< B, A > & a );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user