src/cpp/RiderLink/Source/RD/src/rd_core_cpp/src/main/reactive/ViewableMap.h [58:163]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - explicit iterator(const typename data_t::iterator& it) : it_(it) { } public: using iterator_category = typename data_t::iterator::iterator_category; using key_type = K; using value_type = V; using difference_type = std::ptrdiff_t; using reference = V const&; using pointer = V const*; iterator(const iterator& other) = default; iterator(iterator&& other) noexcept = default; iterator& operator=(const iterator& other) = default; iterator& operator=(iterator&& other) noexcept = default; iterator& operator++() { ++it_; return *this; } iterator operator++(int) { auto it = *this; ++*this; return it; } iterator& operator--() { --it_; return *this; } iterator operator--(int) { auto it = *this; --*this; return it; } iterator& operator+=(difference_type delta) { it_ += delta; return *this; } iterator& operator-=(difference_type delta) { it_ -= delta; return *this; } iterator operator+(difference_type delta) const { auto it = *this; return it += delta; } iterator operator-(difference_type delta) const { auto it = *this; return it -= delta; } difference_type operator-(iterator const& other) const { return it_ - other.it_; } bool operator<(iterator const& other) const noexcept { return this->it_ < other.it_; } bool operator>(iterator const& other) const noexcept { return this->it_ > other.it_; } bool operator==(iterator const& other) const noexcept { return this->it_ == other.it_; } bool operator!=(iterator const& other) const noexcept { return !(*this == other); } bool operator<=(iterator const& other) const noexcept { return (this->it_ < other.it_) || (*this == other); } bool operator>=(iterator const& other) const noexcept { return (this->it_ > other.it_) || (*this == other); } reference operator*() const noexcept - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src/cpp/RiderLink/Source/RD/src/rd_core_cpp/src/main/reactive/ViewableSet.h [52:156]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - explicit iterator(const typename data_t::iterator& it) : it_(it) { } public: using iterator_category = std::random_access_iterator_tag; using value_type = T; using difference_type = std::ptrdiff_t; using pointer = T const*; using reference = T const&; iterator(const iterator& other) = default; iterator(iterator&& other) noexcept = default; iterator& operator=(const iterator& other) = default; iterator& operator=(iterator&& other) noexcept = default; iterator& operator++() { ++it_; return *this; } iterator operator++(int) { auto it = *this; ++*this; return it; } iterator& operator--() { --it_; return *this; } iterator operator--(int) { auto it = *this; --*this; return it; } iterator& operator+=(difference_type delta) { it_ += delta; return *this; } iterator& operator-=(difference_type delta) { it_ -= delta; return *this; } iterator operator+(difference_type delta) const { auto it = *this; return it += delta; } iterator operator-(difference_type delta) const { auto it = *this; return it -= delta; } difference_type operator-(iterator const& other) const { return it_ - other.it_; } bool operator<(iterator const& other) const noexcept { return this->it_ < other.it_; } bool operator>(iterator const& other) const noexcept { return this->it_ > other.it_; } bool operator==(iterator const& other) const noexcept { return this->it_ == other.it_; } bool operator!=(iterator const& other) const noexcept { return !(*this == other); } bool operator<=(iterator const& other) const noexcept { return (this->it_ < other.it_) || (*this == other); } bool operator>=(iterator const& other) const noexcept { return (this->it_ > other.it_) || (*this == other); } reference operator*() const noexcept - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -