//////////////////////////////////////////////////////////////////// ! Subtracts the element on position i from the array. Shift the entire array one step. Operation is O(n) \param i The position of the element that will be subtracted from this array. \return The element that was removed. */ ////////////////////////////////////////////////////////////////////
| 952 | */ |
| 953 | ///////////////////////////////////////////////////////////////////////// |
| 954 | NX_INLINE void remove(NxU32 i) |
| 955 | { |
| 956 | NX_ASSERT(i<mSize); |
| 957 | while(i+1<mSize) |
| 958 | { |
| 959 | mData[i] = mData[i+1]; |
| 960 | i++; |
| 961 | } |
| 962 | |
| 963 | mData[--mSize].~T(); |
| 964 | } |
| 965 | |
| 966 | |
| 967 | ////////////////////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected