The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SortedRange.opBinaryRight
std
range
SortedRange
Like
contains
, but the value is specified before the range.
struct
SortedRange
(Range, alias pred = "a < b", SortedRangeOptions opt = SortedRangeOptions.assumeSorted)
bool
opBinaryRight
(
string
op
V
)
(
V
value
)
if
(
op
== "in" &&
isRandomAccessRange
!
Range
)
if
(
isInputRange
!
Range
&&
!
isInstanceOf
!(
SortedRange
,
Range
)
)
Meta
Source
See Implementation
std
range
SortedRange
functions
contains
equalRange
groupBy
lowerBound
opBinaryRight
opIndex
opSlice
popBack
popFront
release
trisect
upperBound
properties
back
empty
front
save
Like contains, but the value is specified before the range.