Back to Adaptive Vision Library website

You are here: Start » Function Reference » Array Basics » FindFirst

FindFirst


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

Finds first location of a given value in the input array.

Syntax

void avl::FindFirst
(
	const atl::Array<Type>& inArray,
	const Type& inValue,
	atl::Conditional<int>& outIndex
)

Parameters

Name Type Default Description
inArray const Array<Type>& Input array
inValue const Type& Value to look for
outIndex Conditional<int>& Index of the first value occurrence in the array