Array.insertBack

Inserts the specified elements at the back of the array. stuff can be a value convertible to bool or a range of objects convertible to bool.

  1. size_t insertBack(Stuff stuff)
    struct Array(T)
    size_t
    insertBack
    (
    Stuff
    )
    (
    Stuff stuff
    )
    if (
    is(Stuff : bool)
    )
    if (
    is(immutable T == immutable bool)
    )
  2. size_t insertBack(Stuff stuff)

Return Value

Type: size_t

The number of elements inserted.

Complexity: O(length + m) if reallocation takes place, otherwise O(m), where m is the number of elements in stuff.

Meta