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;
49 friend struct impl::histogram::Access;
51 constexpr explicit HistogramView(
const impl::histogram::Bucket& buckets)
noexcept : buckets_(&buckets) {}
53 const impl::histogram::Bucket* buckets_;
57bool operator==(HistogramView lhs, HistogramView rhs)
noexcept;
60bool operator!=(HistogramView lhs, HistogramView rhs)
noexcept;