5#ifndef combined_ordered_iterator_H
6#define combined_ordered_iterator_H
17 template <
class Iter,
class CMP>
24 const Iter& b2,
const Iter& e2,
const CMP& cmp) :
57 else if (
other.at_the_end())
return true;
combined_ordered_iterator & operator++()
const value_type & other() const
const value_type & operator*()
const value_type & current() const
const value_type & next_in_same() const
combined_ordered_iterator(const Iter &b1, const Iter &e1, const Iter &b2, const Iter &e2, const CMP &cmp)
typename Cont::const_iterator m_e2
typename Cont::const_iterator m_b2
const Iter & current_iter() const
bool operator==(const combined_ordered_iterator &other) const
combined_ordered_iterator operator++(int)
bool other_at_the_end() const
typename Cont::const_iterator m_e1
typename Cont::const_iterator m_b1
bool operator!=(const combined_ordered_iterator &other) const
combined_ordered_iterator()
typename Cont::const_iterator::value_type value_type
A helper class that provides iterators over elements in two separate ordered containers as if the ele...