Sorted.insert

Insert value into this.

  1. bool insert(U value)
    struct Sorted(A, bool uniqueElements = true, alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable)
    scope @trusted
    static if(isDynamic)
    bool
    insert
    (
    U
    )
    (
    in U value
    )
    if (
    isAssignable!(E, U)
    )
    if (
    is(typeof(A.init[]))
    )
  2. size_t insert(R values)

Return Value

Type: bool

false if this already contained value, true otherwise.

Meta