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] Add withContiguous{Mutable}StorageIfAvailable #21092

Merged

Conversation

airspeedswift
Copy link
Member

@airspeedswift airspeedswift commented Dec 6, 2018

Variant implementation of SE-0237.

Still needs tests adding. This also might allow for removal of some underscored requirements, but this should land into the ABI before that is contemplated.

@airspeedswift
Copy link
Member Author

@swift-ci please test

@airspeedswift
Copy link
Member Author

@swift-ci please test source compatibility

@airspeedswift airspeedswift merged commit ad50a39 into swiftlang:master Dec 7, 2018
@airspeedswift airspeedswift deleted the contiguous-if-available branch December 7, 2018 18:01
airspeedswift added a commit to airspeedswift/swift that referenced this pull request Dec 7, 2018
* Add MutableCollection.withContiguousMutableStorageIfAvailable

* Add withContiguousMutableStorageIfAvailable impls

* Add tests on concrete types

* Add Sequence.withContiguousStorageIfAvailable

* Implement withContiguousStorageIfAvailable in concrete types
airspeedswift added a commit that referenced this pull request Dec 10, 2018
* [stdlib] Add withContiguous{Mutable}StorageIfAvailable (#21092)

* Add MutableCollection.withContiguousMutableStorageIfAvailable

* Add withContiguousMutableStorageIfAvailable impls

* Add tests on concrete types

* Add Sequence.withContiguousStorageIfAvailable

* Implement withContiguousStorageIfAvailable in concrete types

* Add tests for withContiguousStorageIfAvailable
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