6#ifndef EGT_DETAIL_RANGE_H
7#define EGT_DETAIL_RANGE_H
35 typename T::iterator
begin() noexcept
40 typename T::const_iterator
begin() const noexcept
45 typename T::const_iterator
cbegin() const noexcept
50 void end(
typename T::iterator
end)
noexcept
55 typename T::iterator
end() noexcept
60 typename T::const_iterator
end() const noexcept
65 typename T::const_iterator
cend() const noexcept
70 typename T::reverse_iterator
rbegin() noexcept
72 return std::reverse_iterator<typename T::iterator>(m_end);
75 typename T::reverse_iterator
rend() noexcept
77 return std::reverse_iterator<typename T::iterator>(m_begin);
80 typename T::const_reverse_iterator
rbegin() const noexcept
82 return std::reverse_iterator<typename T::const_iterator>(m_end);
85 typename T::const_reverse_iterator
rend() const noexcept
87 return std::reverse_iterator<typename T::const_iterator>(m_begin);
90 typename T::const_reverse_iterator
crbegin() const noexcept
92 return std::reverse_iterator<typename T::const_iterator>(m_end);
95 typename T::const_reverse_iterator
crend() const noexcept
97 return std::reverse_iterator<typename T::const_iterator>(m_begin);
102 return std::distance(m_begin, m_end);
107 return (m_begin == m_end);
110 typename T::iterator m_begin;
111 typename T::iterator m_end;
Utility class to allow range loops from a subset of a container.
Definition range.h:26
T::const_reverse_iterator crbegin() const noexcept
Definition range.h:90
T::iterator end() noexcept
Definition range.h:55
T::const_iterator cbegin() const noexcept
Definition range.h:45
size_t size() const noexcept
Definition range.h:100
bool empty() const noexcept
Definition range.h:105
T::const_iterator begin() const noexcept
Definition range.h:40
T::reverse_iterator rend() noexcept
Definition range.h:75
T::const_iterator end() const noexcept
Definition range.h:60
T::const_reverse_iterator crend() const noexcept
Definition range.h:95
void begin(typename T::iterator begin) noexcept
Definition range.h:30
T::reverse_iterator rbegin() noexcept
Definition range.h:70
T::const_iterator cend() const noexcept
Definition range.h:65
void end(typename T::iterator end) noexcept
Definition range.h:50
T::const_reverse_iterator rbegin() const noexcept
Definition range.h:80
T::iterator begin() noexcept
Definition range.h:35
Range()
Definition range.h:28
T::const_reverse_iterator rend() const noexcept
Definition range.h:85
EGT framework namespace.
Definition animation.h:24