[Boost-bugs] [Boost C++ Libraries] #2841: boost::hash to support boost::dynamic_bitset

Subject: [Boost-bugs] [Boost C++ Libraries] #2841: boost::hash to support boost::dynamic_bitset
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-09 21:24:31


#2841: boost::hash to support boost::dynamic_bitset
---------------------------------+------------------------------------------
 Reporter: astukalov_at_[hidden] | Owner: danieljames
     Type: Feature Requests | Status: new
Milestone: Boost 1.39.0 | Component: hash
  Version: Boost 1.38.0 | Severity: Optimization
 Keywords: |
---------------------------------+------------------------------------------
 IIUC, there's no out-of-box support for hashing of dynamic_bitset.

 Could something as simple as
 {{{
 #!cpp
     template <typename B, typename A>
     friend std::size_t hash_value(const dynamic_bitset<B, A>& v) {
         return hash_value( v.m_bits );
     }
 }}}
 be added to `boost::dynamic_bitset` class?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2841>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC