phobos-next ~master (2025-01-18T22:13:40.3704578)
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