value::hash_value
Helper for boost::hash
support.
Synopsis
Defined in header <boost/json/value.hpp>.
std::size_t
hash_value(
value const& jv) noexcept;
Description
Computes a hash value for jv
. This function is used by boost::hash<value>
. Similar overloads for array
, object
, and string
do not exist, because those types are supported by boost::hash
out of the box.
Return Value
hash value for jv
.
Parameters
Name | Description |
---|---|
|
|
See Also
Convenience header <boost/json.hpp>