6 #ifndef KAGOME_GENERIC_ITERATOR_HPP 7 #define KAGOME_GENERIC_ITERATOR_HPP 17 template <
typename Container>
26 virtual std::unique_ptr<GenericIterator>
clone()
const = 0;
41 return get() != other.
get();
45 return get() == other.
get();
51 #endif // KAGOME_GENERIC_ITERATOR_HPP bool operator==(const GenericIterator< Container > &other)
virtual bool operator!=(const GenericIterator< Container > &other) const
typename Container::value_type value_type
virtual ~GenericIterator()=default
value_type & operator->()
virtual GenericIterator< Container > & operator++()=0
virtual std::unique_ptr< GenericIterator > clone() const =0
virtual value_type & operator*()=0
virtual value_type * get()=0