SortedList.frontRef

Returns the element at the front. Note: This is recommended for elements ordered by a key, which is not modified through this function. Failure of doing so will ruin the sortedness of the array.

struct SortedList(E, alias cmp = "a < b", bool allowDuplicates = true, alias equal = "a == b")
@property ref @nogc @safe nothrow pure
E
frontRef
()

Meta