MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / swap

Method swap

Source/ThirdParty/NvCloth/ps/PsArray.h:512–517  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////// ! Swap contents of an array without allocating temporary storage */ /////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

510 */
511 //////////////////////////////////////////////////////////////////////////
512 PX_INLINE void swap(Array<T, Alloc>& other)
513 {
514 ps::swap(mData, other.mData);
515 ps::swap(mSize, other.mSize);
516 ps::swap(mCapacity, other.mCapacity);
517 }
518
519 //////////////////////////////////////////////////////////////////////////
520 /*!

Callers 4

swapFunction · 0.45
testGroupEndedMethod · 0.45
testRunEndedMethod · 0.45
pathMethod · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected