///////////////////////////////////////////////////////////////////// ! Swap contents of an array without allocating temporary storage */ /////////////////////////////////////////////////////////////////////
| 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 | /*! |
no test coverage detected