Back to Aurora Vision Library Lite website

You are here: Start » All Functions » Array Basics » FindLast

FindLast


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

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

Syntax

void avl::FindLast
(
	const atl::Array<Type>& inArray,
	const Type& inValue,
	atl::Conditional<int>& outIndex,
	bool& outFound = atl::Dummy<bool>()
)

Parameters

Name Type Default Description
Input value inArray const Array<Type>& Input array
Input value inValue const Type& Value to look for
Output value outIndex Conditional<int>& Index of the last value occurrence in the array
Output value outFound bool& Dummy<bool>()