MCPcopy Create free account
hub / github.com/Kitware/VTK / swap

Function swap

Common/Core/vtkDataArrayTupleRange_Generic.h:263–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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(

Callers 15

swapMethod · 0.70
swapMethod · 0.70
SetNumberOfThreadsMethod · 0.70
LUFactorLinearSystemMethod · 0.70
vtkSwapVectors3Function · 0.70
QuadraticRootMethod · 0.70
swapMethod · 0.70
swapMethod · 0.70
swapMethod · 0.70

Calls 1

swapMethod · 0.45

Tested by 9

TestSwapMethod · 0.40
TestSwapMethod · 0.40
TestValueSwapMethod · 0.40
TestSwapMethod · 0.40
TestSwapMethod · 0.40
TestSwapMethod · 0.40
TestSwapMethod · 0.40
TestTupleSwapMethod · 0.40
TestCompSwapMethod · 0.40