swift
Swift samus7070 1y ago 100%

Value and Type parameter packs in Swift explained with examples

www.avanderlee.com

cross-posted from: https://programming.dev/post/3558087

Type parameter packs and value parameter packs allow you to write a generic function that accepts an arbitrary number of arguments with distinct types. As a result of SE-393, SE-398, and SE-399, you can use this new feature from Swift 5.9.

4
0
Comments 0