Can you extend a tuple from an expanded parameter pack with more elements?

I swear, I'm going to find a place where I can use these parameter packs! :steam_locomotive:

This is non-replicable with them?

/// Create a new tuple with one more element.
func append<Element0, Element1, Element2>(
  elements: (Element0, Element1), element: Element2
) -> (Element0, Element1, Element2) {
  (elements.0, elements.1, element)
}
1 Like