> On Apr 13, 2017, at 7:29 PM, Félix Cloutier via swift-evolution > <[email protected]> wrote: > > template<typename... T> > void foo(T... args) > { > return bar(args...); > } > > In this bad but simple example, bar is called with the same* parameters as > foo. Parameter unpacking uses the postfix … operator. > > * To some extent. Doing the right thing adds a lot of noise.
I want to see tuple splat and variadic generics one day, but I think partial ranges will be used more often. We can give parameter unpacking a heavier syntax. -- Brent Royal-Gordon Architechies _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
