phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
findUnique
nxt
unique_range
Undocumented in source. Be warned that the author may not have intended to support it.
InputRange
findUnique
(
alias
pred
= "a == b"
InputRange
Element
)
(
InputRange
haystack
,
scope
Element
needle
)
if
(
isInputRange
!
InputRange
&&
is
(
typeof
(
binaryFun
!
pred
(
haystack.front
,
needle
)) :
bool
)
)
Meta
Source
See Implementation
nxt
unique_range
aliases
intoGenerator
functions
findUnique
intoUniqueRange
takeUnique
structs
UniqueRange
UniqueTake
templates
filterUnique
mapUnique