5 #include "prometheus/detail/core_export.h"
6 #include "prometheus/labels.h"
11 /// \brief Label hasher for use in STL containers.
12 struct PROMETHEUS_CPP_CORE_EXPORT LabelHasher
{
13 /// \brief Compute the hash value of a map of labels.
15 /// \param labels The map that will be computed the hash value.
17 /// \returns The hash value of the given labels.
18 std::size_t operator()(const Labels
& labels
) const;
22 } // namespace prometheus