Set.insert

Inserts a new value into the set.

  1. bool insert(T value)
    struct Set(T)
    bool
    insert
    ()
  2. void insert(Stuff stuff)

Parameters

value T

The value to insert into the set.

Return Value

Type: bool

Returns true if the value was inserted, or false if the value already existed in the set.

Meta