Functor that can be used as a std::unordered_map/set hash param, when key is a range. copied from: http://stackoverflow.com/questions/10405030/c-unordered-map-fail-when-used-with-a-vector-as-key.
More...
#include <hash.hpp>
|
template<typename Range > |
std::size_t | operator() (Range &&range) const |
|
Functor that can be used as a std::unordered_map/set hash param, when key is a range. copied from: http://stackoverflow.com/questions/10405030/c-unordered-map-fail-when-used-with-a-vector-as-key.
- Template Parameters
-
Definition at line 84 of file hash.hpp.
template<typename Range >
std::size_t paal::range_hash::operator() |
( |
Range && |
range | ) |
const |
|
inline |
- Parameters
-
- Returns
Definition at line 94 of file hash.hpp.
The documentation for this struct was generated from the following file: