The OpenD Programming Language

filter.filter

  1. Filter!(naryFun!pred, Range) filter(Range r)
  2. auto filter(Slice!(Iterator, N, kind) slice)
    template filter(alias pred = "a")
    static if(__traits(isSame, naryFun!pred, pred))
    filter
    (
    Iterator
    size_t N
    SliceKind kind
    )
    (
    Slice!(Iterator, N, kind) slice
    )

Return Value

Type: auto

A new range containing only elements x in range for which predicate(x) returns true.

Meta