On 22 Feb 2017, at 22:16, Russell Finn via swift-users <swift-users@swift.org> wrote:
> … is (2) the best I can do for now? Yes. btw You can simplify the code to this: var description: String { var tmp = self.path return String(cString: &tmp.0) } but it still needs that copy. > And is this the sort of issue that the Ownership Manifesto is designed to > address? I’m not sufficiently up to speed on that topic to answer this. Sorry. Share and Enjoy -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users