Home | Libraries | People | FAQ | More |
boost::hash_value — Calculate hash value for an array.
// In header: <boost/array.hpp> template<typename T, std::size_t N> std::size_t hash_value(const array< T, N > & arr);
This function calculates the hash value for an array
Complexity.
Linear
Note | |
---|---|
This function is used to calculate the hash for an array, which allows it to be inserted in unordered containers.
See Also:
hash_range
Parameters: |
|
||
Returns: |
hash value for an array |