Contents

insertPointer(_:at:)

Inserts a pointer at a given index.

Declaration

func insertPointer(_ item: UnsafeMutableRawPointer?, at index: Int)

Parameters

  • item:

    The pointer to add.

  • index:

    The index of an element in the receiver. This value must be less than the Count of the receiver.

Discussion

Elements at and above index, including NULL values, slide higher.

See Also

Managing the Collection