[swift-evolution] [Pitch] Object aliases
tali at admingilde.org
Mon Jul 3 13:29:46 CDT 2017
> Am 30.06.2017 um 10:55 schrieb Daryle Walker via swift-evolution <swift-evolution at swift.org>:
> I was thinking posing aliases would be like symbolic substitution; we could replace the alias with the text defining its source expression everywhere and there should be no efficiency change. But I would want any evaluation of the (sub-)object’s location to be computed once; is that where complexity could come in? I was hoping that object location determination could be done at compile-time; that’s the reason for restricting what kinds of objects can be a source object.
Have you had a look at local `inout` bindings as proposed in the Ownership Manifesto?
Do they solve your problem?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution