phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
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.