mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
assumeSortedContains.assumeSortedContains
mir
ndslice
sorting
assumeSortedContains
Undocumented in source.
bool
assumeSortedContains
(Slice!(Iterator, 1, kind) slice, V v)
bool
assumeSortedContains
(T[] ar, V v)
alias
assumeSortedContains
=
.
assumeSortedContains
!(
naryFun
!
test
)
template
assumeSortedContains
(alias test = "a < b")
@
optmath
static if
(!(
__traits(isSame, naryFun!test, test)
))
alias
assumeSortedContains
= .
assumeSortedContains
!(
naryFun
!
test
)
Meta
Source
See Implementation
mir
ndslice
sorting
assumeSortedContains
functions
assumeSortedContains