Skip to content

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

@pdimov

Description

@pdimov

Now that #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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions