[swift-evolution] [Accepted] SE-0107: UnsafeRawPointer API
clattner at apple.com
Wed Jul 13 22:31:51 CDT 2016
Proposal Link: https://github.com/apple/swift-evolution/blob/master/proposals/0107-unsaferawpointer.md
The review of "SE-0107: UnsafeRawPointer API" ran from June 28 ... July 10, 2016. The proposal has been *accepted*:
The community and core team agree that this proposal clarifies the rules around the unsafe pointer APIs, while making them “work by default” and balance safety and unsafety in an understandable way. Andy has revised the proposal several times due to community feedback (which is why we extended the review period), which makes my job easier because the core team agrees to accept it nearly as-is :-). The only request from the core team is to remove the default value from the ‘alignedTo:’ parameters of the allocate and deallocate methods, forcing their callers to be explicit about the alignment required by an allocation.
Thank you to Andrew Trick for driving this discussion as well as the implementation forward!
More information about the swift-evolution