sources/range.h

branch
protocol5
changeset 159
970d58a01e8b
parent 157
42bb29924218
equal deleted inserted replaced
155:9f71f854474a 159:970d58a01e8b
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