MCPcopy Create free account
hub / github.com/MyGUI/mygui / swap

Function swap

UnitTests/TestApp/pugixml.cpp:6091–6096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6089
6090template<typename T>
6091void swap(T& lhs, T& rhs)
6092{
6093 T temp = lhs;
6094 lhs = rhs;
6095 rhs = temp;
6096}
6097
6098template<typename I, typename Pred>
6099I min_element(I begin, I end, const Pred& pred)

Callers 15

reverseFunction · 0.70
partitionFunction · 0.70
median3Function · 0.70
compare_eqMethod · 0.70
swapSortItemsAtMethod · 0.50
swapItemsAtMethod · 0.50
getRandMethod · 0.50
getRandFunction · 0.50
getRandMethod · 0.50
_rebuildGeometryMethod · 0.50
updateCompressionMethod · 0.50
swapItemsMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected