| 2580 | |
| 2581 | template <typename Vec> |
| 2582 | void next_circular(typename Vec::const_iterator& it, const Vec& vec) { |
| 2583 | std::advance(it, 1); |
| 2584 | if (it == vec.end()) { |
| 2585 | it = vec.begin(); |
| 2586 | } |
| 2587 | } |
| 2588 | |
| 2589 | template <typename Vec> |
| 2590 | void previous_circular(typename Vec::const_iterator& it, const Vec& vec) { |
no test coverage detected