The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
assumeSortedEqualIndex.assumeSortedEqualIndex
mir
ndslice
sorting
assumeSortedEqualIndex
sizediff_t
assumeSortedEqualIndex
(Slice!(Iterator, 1, kind) slice, V v)
sizediff_t
assumeSortedEqualIndex
(T[] ar, V v)
template
assumeSortedEqualIndex
(alias test = "a < b")
@
fmamath
static if
(
__traits(isSame, naryFun!test, test)
)
@
fmamath
sizediff_t
assumeSortedEqualIndex
(
T
V
)
(
scope
T
[]
ar
,
auto
ref
scope
const
V
v
)
Parameters
v
V
value to test with. It is passed to second argument.
Meta
Source
See Implementation
mir
ndslice
sorting
assumeSortedEqualIndex
functions
assumeSortedEqualIndex