| 81 | |
| 82 | template<class I, class J> |
| 83 | forceinline bool |
| 84 | equal(I& i, J& j) { |
| 85 | // Are i and j equal? |
| 86 | while (i() && j()) |
| 87 | if ((i.min() == j.min()) && (i.max() == j.max())) { |
| 88 | ++i; ++j; |
| 89 | } else { |
| 90 | return false; |
| 91 | } |
| 92 | return !i() && !j(); |
| 93 | } |
| 94 | |
| 95 | template<class I, class J> |
| 96 | forceinline bool |
no test coverage detected