Uploaded image for project: 'Swift'
  1. Swift
  2. SR-1490

Implement SE-0076 by changing some UnsafeMutablePointer taking methods to take UP

    XMLWordPrintable

    Details

      Description

      SE-0076 has been accepted with modifications:
      https://github.com/apple/swift-evolution/blob/master/proposals/0076-copying-to-unsafe-mutable-pointer-with-unsafe-pointer-source.md

      instead of adding overloads for the methods as proposed, the existing methods should just be changed to take UnsafePointer instead of UnsafeMutablePointer. It would also be good to audit the rest of the standard library to make sure there aren't other similar cases. If they are found, this should also be modified as well.

        Attachments

          Activity

            People

            Assignee:
            russ Russ Bishop
            Reporter:
            clattner Chris Lattner
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: