Skip to content

Commit ef26a79

Browse files
hborlaslavapestovPsychoH13beccadaxxwu
authored
Value and type parameter packs. (swiftlang#1956)
* Add a draft proposal for parameter packs. * Fix the type of postfix ... operator in the ambiguity example. * update pitch (#1) * Add missing SE proposal information. * Replace the '...' syntax with 'repeat each'. * Add more introductory explanation to the proposed solution. * Update proposals/NNNN-parameter-packs.md Co-authored-by: Remy Demarest <[email protected]> * Address editorial feedback * Add pack iteration and pack element projection to the future directions. * Move local value packs and add explicit pack syntax to future directions. * Describe single-element tuple unwrapping under pack substitution. * Simplify the description of same-type requirements involving parameter packs. * Update proposals/NNNN-parameter-packs.md Co-authored-by: Becca Royal-Gordon <[email protected]> * Move the introduction above the table of contents. * Specify trailing closure matching rules for parameter packs. * Replace the term "type sequence" with "type list" to avoid confusion with the Sequence protocol. * Add more commentary on the `repeat each` syntax design. * Minor editorial changes * Describe how variadic generic functions interact with overload resolution. * Update pitch links. * Update 0393-parameter-packs.md --------- Co-authored-by: Slava Pestov <[email protected]> Co-authored-by: Remy Demarest <[email protected]> Co-authored-by: Becca Royal-Gordon <[email protected]> Co-authored-by: Xiaodi Wu <[email protected]>
1 parent b12d504 commit ef26a79

File tree

1 file changed

+837
-0
lines changed

1 file changed

+837
-0
lines changed

0 commit comments

Comments
 (0)