uniq.uniq

  1. Uniq!(naryFun!pred, Range) uniq(Range r)
  2. auto uniq(Slice!(Iterator, N, kind) slice)
    template uniq(alias pred = "a == b")
    @optmath
    static if(__traits(isSame, naryFun!pred, pred))
    uniq
    (
    Iterator
    size_t N
    SliceKind kind
    )
    (
    Slice!(Iterator, N, kind) slice
    )
  3. alias uniq = .uniq!(naryFun!pred)

Return Value

Type: auto

An input range of consecutively unique elements in the original range. If r is also a forward range or bidirectional range, the returned range will be likewise.

Meta