20 #ifndef _INTARRAYPAIRITERATOR_HPP_
21 #define _INTARRAYPAIRITERATOR_HPP_
26 class coupon_iterator {
28 using iterator_category = std::input_iterator_tag;
29 using value_type = uint32_t;
30 using difference_type = void;
31 using pointer = uint32_t*;
32 using reference = uint32_t;
34 coupon_iterator(
const uint32_t* array,
size_t array_slze,
size_t index,
bool all);
35 coupon_iterator& operator++();
36 bool operator!=(
const coupon_iterator& other)
const;
37 reference operator*()
const;
39 const uint32_t* array_;
47 #include "coupon_iterator-internal.hpp"
DataSketches namespace.
Definition: binomial_bounds.hpp:38