LastIndexOfImpl()
System::MemoryExtensions::Details::LastIndexOfImpl(const ReadOnlySpan<T>&, int32_t, const T&) function
Finds the last index of a value in a span.
template<typename T> int32_t System::MemoryExtensions::Details::LastIndexOfImpl(const ReadOnlySpan<T> &searchSpace, int32_t length, const T &value)
Template parameters
Parameter | Description |
---|---|
T | Type of elements in span |
Arguments
Parameter | Type | Description |
---|---|---|
searchSpace | const ReadOnlySpan<T>& | Span to search |
length | int32_t | Length to search within |
value | const T& | Value to find |
Return Value
Last index of the value, or -1 if not found
See Also
- Class ReadOnlySpan
- Namespace System::MemoryExtensions::Details
- Library Aspose.Slides