Set.insert

Inserts a range of elements into the set.

  1. bool insert(T value)
  2. void insert(Stuff stuff)
    struct Set(T)
    void
    insert
    (
    Stuff
    )
    (
    Stuff stuff
    )
    if (
    isInputRange!Stuff &&
    isImplicitlyConvertible!(ElementType!Stuff, T)
    )

Parameters

stuff Stuff

The range of items to insert into the set.

Meta