[swift-evolution] Replace named returns with `out` parameters?

Andrew Arnopoulos andrewarnopoulos at gmail.com
Wed Dec 28 11:42:39 CST 2016


Adrian,

I'm not entirely sure I understand. Are you looking for a way to pass parameters by reference? Because there is a way to do that with the inout keyword. If not would you mind providing a different example to elaborate? Again, I think I may be missing your point.

-Andrew

> On Dec 28, 2016, at 4:09 AM, Anton Zhilin via swift-evolution <swift-evolution at swift.org> wrote:
> 
> compiles:


More information about the swift-evolution mailing list