Namespace: Rx – Class: CRxArrayUShort – Header: Rx.Core/RxArrayTypes.h

CRxArrayUShort::Insert Method

C++
void Insert(size_t nPosition, size_t nCount, const unsigned short& tValue)

Inserts nCount copies of tValue at the specified location in the array.

Causes reallocation if the new size is greater than the old capacity. If the new size is greater than capacity, all iterators and references are invalidated. Otherwise, only the iterators and references before the insertion point remain valid. The past-the-end iterator is also invalidated.

Parameters

[size_t] nPosition

The position.

[size_t] nCount

The number of elements to insert.

[const unsigned short&] tValue

The value.