Skip to content
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

[stdlib] Generalizing Standard Library primitives for noncopyable types #2449

Merged
merged 6 commits into from
May 22, 2024

Conversation

lorentey
Copy link
Member

This document is the outcome of the forum pitch on this topic. During the discussion I've cut back some of the additions that may be better expressed with future language features, and clarified/expanded some of the text based on feedback.

@lorentey lorentey force-pushed the noncopyable-stdlib-primitives branch 2 times, most recently from f6a4e73 to 2d6f5a0 Compare May 15, 2024 04:17
- Note that API additions haven’t landed yet. (I’m preparing PRs.)

- Expand the Alternatives Considered section with an extended discussion on alternatives to `UnsafeBufferPointer.extracting`.

- Expand the Future Work section by detailing future directions in protocol generalizations, with a notable first acknowledgment that we may eventually want to generalize Error.
@rjmccall rjmccall merged commit 747eb79 into apple:main May 22, 2024
@lorentey lorentey deleted the noncopyable-stdlib-primitives branch May 24, 2024 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants