json icon indicating copy to clipboard operation
json copied to clipboard

Add hash_value overloads to also support boost::hash in addition to std::hash

Open pdimov opened this issue 3 years ago • 0 comments

Now that https://github.com/boostorg/json/pull/522 has added std::hash support for the JSON types, adding hash_value overloads that simply return the result of std::hash (or vice versa) will also enable support for boost::hash.

Apart from the fact that a Boost library should integrate with other Boost libraries, boost::hash is also more convenient in that it supports the standard containers, std::pair and std::tuple.

pdimov avatar May 07 '21 21:05 pdimov