Is it possible to rearrange the elements of a parameter pack?

For example, I don't think you can replicate this. I think they need to stay in the original order? :slightly_frowning_face:

/// Reverse the order of the elements in the tuple.
@inlinable public func reverse<Element0, Element1>(
  _ element0: Element0, _ element1: Element1
) -> (Element1, Element0) {
  (element1, element0)
}
1 Like