[SR-4753] SE-0147 moved UnsafeMutablePointer.initialize(from:) to UnsafeMutableBufferPointer. Shouldn't ManagedBuffer follow suit? #47330
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
feature
A feature request or implementation
standard library
Area: Standard library umbrella
Environment
Any
Additional Detail from JIRA
md5: c5ec0ab3c8e0c8a01962048602e6ff66
Issue Description:
SE-0147: https://github.com/apple/swift-evolution/blob/master/proposals/0147-move-unsafe-initialize-from.md
`ManagedBuffer` has `withUnsafeMutablePointerToElements` which can no longer use this `initialize(from🙂` method yet is very relevant to the typical `ManagedBuffer` usage.
I believe `ManagedBuffer` should now include something along the lines of `withUnsafeMutableBufferPointerToElements` to work with this change.
The text was updated successfully, but these errors were encountered: