| 1683 | } |
| 1684 | |
| 1685 | friend VTK_ITER_INLINE void swap(TupleIterator& lhs, TupleIterator& rhs) noexcept |
| 1686 | { |
| 1687 | // Different arrays may use different iterator implementations. |
| 1688 | VTK_ITER_ASSERT( |
| 1689 | lhs.GetArray() == rhs.GetArray(), "Cannot swap iterators from different arrays."); |
| 1690 | |
| 1691 | using std::swap; |
| 1692 | swap(lhs.GetTupleId(), rhs.GetTupleId()); |
| 1693 | } |
| 1694 | |
| 1695 | friend struct ConstTupleIterator<ArrayType, TupleSize>; |
| 1696 | friend struct ConstTupleReference<ArrayType, TupleSize>; |
no test coverage detected