func splice<C : RangeReplaceableCollectionType, S : CollectionType where C.Generator.Element == C.Generator.Element>(inout: C, newElements: S, atIndex: C.Index) Insert newElements into x at index i Invalidates all indices with respect to x. Complexity: O(count(x) + count(newElements)). Declaration func splice<C : RangeReplaceableCollectionType, S : CollectionType where C.Generator.Element == C.Generator.Element>(inout x: C, newElements: S, atIndex i: C.Index)