List.getRef

Returns by reference the element contained in the list at the specified index.

interface List(T)
ref
T
getRef
@nogc
(
size_t index
)

Parameters

index
Type: size_t

the position of the list from which to take the element

Return Value

Type: T

the element contained in the specified index by reference

Meta