The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Uniq
mir
algorithm
iteration
Authros:
Andrei Alexandrescu
(original Phobos code), Ilia Ki (betterC rework)
@
fmamath
struct
Uniq (
alias
pred
Range
) {
Range
_input
;
static if
(
isInfinite!Range
)
enum
bool
empty
;
enum
bool
isForwardRange
(
R
,
E
)
; via
import
std
.
range
.
primitives
:
isForwardRange
;
;
}
Meta
Source
See Implementation
mir
algorithm
iteration
enums
Chequer
functions
maxLength
nBitsToCount
retroNBitsToCount
structs
Filter
Uniq
templates
all
any
cmp
count
each
eachLower
eachOnBorder
eachUploPair
eachUpper
equal
filter
find
findIndex
fold
isSymmetric
maxIndex
maxPos
minIndex
minPos
minmaxIndex
minmaxPos
rcfilter
reduce
uniq
Authros: Andrei Alexandrescu (original Phobos code), Ilia Ki (betterC rework)