Back to Adaptive Vision Library website

You are here: Start » Function Reference » Array Composition » RemoveArrayElement

RemoveArrayElement


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header:STD.h
Namespace:avl

Removes the element of the given index from an array.

Syntax

void avl::RemoveArrayElement
(
	atl::Array<Type>& ioArray,
	int inIndex,
	bool inInverse,
	Type& outRemovedValue
)

Parameters

Name Type Range Default Description
ioArray Array<Type>&
inIndex int 0 - Index of element to be removed
inInverse bool False Reversed order in the array
outRemovedValue Type& Value of removed element

Errors

List of possible exceptions:

Error type Description
DomainError Array index out of range in RemoveArrayElement.