>     if var testStream = OutputStream(path: aPath) {
>         print("Testing custom output", toStream: &testStream)

What sticks out to me here is, why is OutputStream a value type at all? Does it 
have some sensible copying behavior? It looks like an OutputStream more or less 
represents an open file, which seems like a perfect use case for a reference 
type.

-- 
Brent Royal-Gordon
Architechies

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to