Skip to content

expand on limitations of noncopyable types and generics #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

kavon
Copy link

@kavon kavon commented Feb 2, 2023

also includes tips for working around the limitations. does not include enhanced discussion of Future Directions but a follow-up PR could include that if desirable.

@kavon kavon force-pushed the noncopyable-structs-and-enums branch from faa2847 to cfe3bb7 Compare February 2, 2023 00:45
@kavon kavon force-pushed the noncopyable-structs-and-enums branch from cfe3bb7 to 10263e9 Compare February 2, 2023 19:22
also includes tips for working around the limitations and pointers
to Future Directions.
@kavon kavon force-pushed the noncopyable-structs-and-enums branch from 10263e9 to 08b8167 Compare February 2, 2023 19:24
@jckarter jckarter merged commit 49c8a38 into jckarter:noncopyable-structs-and-enums Feb 2, 2023
jckarter pushed a commit that referenced this pull request Apr 7, 2023
* 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]>
jckarter pushed a commit that referenced this pull request Nov 7, 2024
Fix some code snippets in NNNN-nonisolated-for-global-actor-cutoff.md
jckarter pushed a commit that referenced this pull request Mar 22, 2025
Changed `StorageView` and `BufferReference` to `Span` to match the si…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants