Label hasher for use in STL containers.
Definition at line 12 of file sources/includes/prometheus/detail/utils.h.
◆ operator()() [1/2]
| std::size_t prometheus::detail::LabelHasher::operator() |
( |
const Labels & |
labels | ) |
const |
Compute the hash value of a map of labels.
- Parameters
-
| labels | The map that will be computed the hash value. |
- Returns
- The hash value of the given labels.
◆ operator()() [2/2]
| std::size_t prometheus::detail::LabelHasher::operator() |
( |
const Labels & |
labels | ) |
const |
Compute the hash value of a map of labels.
- Parameters
-
| labels | The map that will be computed the hash value. |
- Returns
- The hash value of the given labels.
The documentation for this struct was generated from the following file: