SortedList.sliceByElem

Returns a slice from the list, but the slicing is done by element. * Search is done in a way that if either cmp or equals is true to an element, its position will be chosen * for the slice.

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

Meta