System::Array::ConstrainedCopy method

Array::ConstrainedCopy method

Copies a range of elements from an System.Array starting at the specified source.

template<typename SrcType,typename DstType> static void System::Array<T>::ConstrainedCopy(const ArrayPtr<SrcType> &srcArray, int64_t srcIndex, const ArrayPtr<DstType> &dstArray, int64_t dstIndex, int64_t count)
ParameterDescription
SrcTypeType of elements in source array
DstTypeType of elements in destination array
ParameterTypeDescription
srcArrayconst ArrayPtr<SrcType>&Source array
srcIndexint64_tIndex in the source array designating the beginning of the range of items to copy
dstArrayconst ArrayPtr<DstType>&Destination array
dstIndexint64_tIndex in destination array to start inserting copied items at
countint64_tThe number of elements to copy

Remarks

TEMPORARY RAW IMPLEMENTATION WITHOUT ANY UNDONES!

See Also