Implicitly converts a .NET array to an array slice.
Namespace:
Extreme.Collections
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static implicit operator ArraySlice<T> (
T[] array
)
Public Shared Widening Operator CType (
array As T()
) As ArraySlice(Of T)
static implicit operator ArraySlice<T> (
array<T>^ array
)
F# does not support the declaration of new casting operators.
Parameters
- array
- Type: T
The .NET array to convert.
Return Value
Type:
ArraySliceTAn array slice with zero offset and unit stride that uses
array
as its storage array.
Reference