SortedList.which

Returns the index of the given element, or throws an ElementNotFoundException if not found.

struct SortedList(E, alias cmp = "a < b", bool allowDuplicates = true, alias equal = "a == b")
@safe pure
size_t
which
(
E a
)

Meta