This function returns the index of the value if it exist among values, size_t.max otherwise.
Same as range.contains() but also outputs index where last occurrence of key is either currently stored (if true is returned) or should be stored (if false is returned) in order to preserve sortedness of range.
Extensions to std.algorithm.searching.