OrderedSet.add

Add elements from a range to the set.

  1. bool add(V value)
  2. size_t add(Stuff data)
    struct OrderedSet(V, alias _less = "a < b")
    size_t
    add
    (
    Stuff
    )
    (
    Stuff data
    )
    if (
    !is(Stuff : V) &&
    isInputRange!Stuff
    &&
    is(ElementType!Stuff : V)
    )

Return Value

Type: size_t

number of elements added

Meta