| 1504 | } |
| 1505 | |
| 1506 | friend VTK_ITER_INLINE void swap(ConstTupleIterator& lhs, ConstTupleIterator& rhs) noexcept |
| 1507 | { |
| 1508 | // Different arrays may use different iterator implementations. |
| 1509 | VTK_ITER_ASSERT( |
| 1510 | lhs.GetArray() == rhs.GetArray(), "Cannot swap iterators from different arrays."); |
| 1511 | |
| 1512 | using std::swap; |
| 1513 | swap(lhs.GetTupleId(), rhs.GetTupleId()); |
| 1514 | } |
| 1515 | |
| 1516 | private: |
| 1517 | VTK_ITER_INLINE |
nothing calls this directly
no test coverage detected