9 template <std::
integral T>
49 value_ +=
static_cast<T
>(n);
54 value_ -=
static_cast<T
>(n);
70 swap(lhs.value_, rhs.value_);
74 template <std::
integral T>
81 template <std::
integral T>
87 template <std::
integral T>
An iterator that can iterate through a range of integer. Useful when the search space is too big to f...
constexpr reference operator[](difference_type n) const noexcept
constexpr IntegralIterator operator--(int) noexcept
constexpr IntegralIterator & operator-=(difference_type n) noexcept
constexpr IntegralIterator & operator+=(difference_type n) noexcept
constexpr IntegralIterator operator++(int) noexcept
constexpr IntegralIterator(T value) noexcept
constexpr reference operator*() const noexcept
constexpr IntegralIterator & operator++() noexcept
std::random_access_iterator_tag iterator_category
friend void swap(IntegralIterator &lhs, IntegralIterator &rhs) noexcept
constexpr IntegralIterator & operator--() noexcept
std::ptrdiff_t difference_type
constexpr auto operator<=>(const IntegralIterator &) const =default
constexpr difference_type operator-(const IntegralIterator &rhs) const noexcept
constexpr IntegralIterator< T > operator+(IntegralIterator< T > it, typename IntegralIterator< T >::difference_type n) noexcept
constexpr IntegralIterator< T > operator-(IntegralIterator< T > it, typename IntegralIterator< T >::difference_type n) noexcept