sources/range.h

changeset 157
42bb29924218
parent 137
485cb6d6b98c
equal deleted inserted replaced
156:ce66d7e374bf 157:42bb29924218
106 T max() const 106 T max() const
107 { 107 {
108 return m_b; 108 return m_b;
109 } 109 }
110 110
111 T step() const
112 {
113 return m_step;
114 }
115
111 void check_bounds() 116 void check_bounds()
112 { 117 {
113 if (m_b < m_a) 118 if (m_b < m_a)
114 std::swap (m_a, m_b); 119 std::swap (m_a, m_b);
115 } 120 }

mercurial