Skip to content

swift_arrayAssignWithCopyNoAlias(________)

0x41c edited this page Feb 28, 2022 · 1 revision

swift_arrayAssignWithCopyNoAlias(_:_:_:_:)

Using an already existant array and associated heap object, this assigns values from the source object object to the destination by defaulting to a witness function to copy the values when not POD, but using memcpy when it is POD.

@_silgen_name("swift_arrayAssignWithCopyNoAlias")
public func swift_arrayAssignWithCopyNoAlias(
    _ destination: UnsafeRawPointer,
    _ source: UnsafeRawPointer,
    _ count: Int,
    _ self: Any.Type
)
  • C++ Template Values:

    • ArrayDest::Assign
    • ArraySource::Copy
    • ArrayCopy::NoAlias

Parameters

  • destination: The destination heap object.
  • source: The source heap object.
  • count: Amount of items in the source object.
  • self: The destinations initialized metadata.
Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally