| 89 | |
| 90 | template<class I> |
| 91 | forceinline void |
| 92 | OverweightValues<I>::next(void) { |
| 93 | while (iter()) { |
| 94 | while (elements[index]<iter.val()) index++; |
| 95 | assert(elements[index]==iter.val()); |
| 96 | if (weights[index] > threshold) { |
| 97 | return; |
| 98 | } |
| 99 | ++iter; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | template<class I> |
| 104 | forceinline |
no test coverage detected