Skip to main content

Single Instruction Multiple Data

0 likes • Jan 28, 2023
Swift
Loading...
Download

More Swift Posts

Swift Generic Functions

CodeCatch
0 likes • Oct 15, 2022
Swift
func swapTwoValues<T>(_ a: inout T, _ b: inout T) {
let temporaryA = a
a = b
b = temporaryA
}
func swapTwoInts(_ a: inout Int, _ b: inout Int)
func swapTwoValues<T>(_ a: inout T, _ b: inout T)