Skip to content

[stdlib] BitwiseCopyable storeBytes overload. #71625

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

Merged

Conversation

nate-chandler
Copy link
Contributor

The new overload is constrained to BitwiseCopyable and so enjoys the use of BitwiseCopyableArchetypeTypeInfo.

Also promote some isPOD checks in KeyPath.swift to BitwiseCopyable constraints.

The new overload is constrained to BitwiseCopyable and so enjoys the use
of BitwiseCopyableArchetypeTypeInfo.
Promotes the runtime isPOD check to a compile time constraint.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler marked this pull request as ready for review February 15, 2024 02:12
@nate-chandler nate-chandler requested a review from a team as a code owner February 15, 2024 02:12
@nate-chandler nate-chandler merged commit 60f9c03 into swiftlang:main Feb 15, 2024
@nate-chandler nate-chandler deleted the bitwise-copyable/store-bytes branch February 15, 2024 02:12
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.

1 participant