The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SortedRange.opSlice
std
range
SortedRange
Range primitives.
struct
SortedRange
(Range, alias pred = "a < b", SortedRangeOptions opt = SortedRangeOptions.assumeSorted)
return scope
static if
(
hasSlicing!Range
)
auto
opSlice
(
size_t
a
,
size_t
b
)
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
Range primitives.