10USERVER_NAMESPACE_BEGIN
12namespace utils::statistics {
16namespace impl::histogram {
26class HistogramView
final {
29 constexpr HistogramView(
const HistogramView&)
noexcept =
default;
30 constexpr HistogramView& operator=(
const HistogramView&)
noexcept =
default;
59 friend struct impl::histogram::Access;
61 constexpr explicit HistogramView(
const impl::histogram::Bucket& buckets)
noexcept : buckets_(&buckets) {}
63 const impl::histogram::Bucket* buckets_;
67bool operator==(HistogramView lhs, HistogramView rhs)
noexcept;
70bool operator!=(HistogramView lhs, HistogramView rhs)
noexcept;