Looks up value a in the list, then returns a reference to the element equal with it. Throws an exception
if not found.
Intended for use with structs and classes that can interface with the type of T through the cmp and equal
functions's overrides.
structSortedList(E, alias cmp = "a < b", bool allowDuplicates = true, alias equal = "a == b")
Looks up value a in the list, then returns a reference to the element equal with it. Throws an exception if not found. Intended for use with structs and classes that can interface with the type of T through the cmp and equal functions's overrides.