New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hash_value overloads to also support boost::hash in addition to std::hash #570
Comments
The
and boostorg/container_hash#29. Although |
With the current
A simple test program is
which for me prints
However, since
This implementation relies on the hash values of Once this is in place, the current |
Now that #522 has added
std::hash
support for the JSON types, addinghash_value
overloads that simply return the result ofstd::hash
(or vice versa) will also enable support forboost::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
andstd::tuple
.The text was updated successfully, but these errors were encountered: