container icon indicating copy to clipboard operation
container copied to clipboard

hash_value

Open gast128 opened this issue 6 years ago • 0 comments

Dear all,

it would be nice if the container library had overloads for hashing (both Boost as std), e.g.:

namespace boost
{
    template<typename Value, std::size_t Capacity>
    std::size_t hash_value(const boost::container::static_vector<Value, Capacity>& crvec)
    {
        return boost::hash_range(crvec.cbegin(), crvec.cend());
    }
}

gast128 avatar Mar 13 '19 14:03 gast128