The OpenD Programming Language

Array.insert

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.

import std.container.array;
struct Array(T)
alias insert = insertBack

Return Value

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