| 261 | } |
| 262 | |
| 263 | friend VTK_ITER_INLINE void swap(ComponentReference lhs, ComponentReference rhs) noexcept |
| 264 | { // Swap values, not references: |
| 265 | APIType tmp = std::move(static_cast<APIType>(lhs)); |
| 266 | lhs = std::move(static_cast<APIType>(rhs)); |
| 267 | rhs = std::move(tmp); |
| 268 | } |
| 269 | |
| 270 | template <typename OArray, ComponentIdType OSize> |
| 271 | friend VTK_ITER_INLINE void swap( |