7#ifndef MYGUI_ENUMERATOR_H_
8#define MYGUI_ENUMERATOR_H_
58 m_current(_container.begin()),
59 m_end(_container.end())
63 Enumerator(
typename T::const_iterator _first,
typename T::const_iterator _end) :
72 if (m_current == m_end)
80 if (m_current == m_end)
87 assert(m_current != m_end);
93 assert(m_current != m_end);
99 typename T::const_iterator m_current;
100 typename T::const_iterator m_end;
Enumerator(const T &_container)
T::const_reference current()
Enumerator(typename T::const_iterator _first, typename T::const_iterator _end)
T::const_reference operator->() const