Thank you for your answer, but i just feel that options should be a property.
I'm ok with my current solution but it can be simplified with named subscript.___
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinf
> On 13 Jan 2017, at 10:43, Tony Freeman via swift-evolution
> wrote:
>
> Hello Swift community,
>
> I found this very useful while wrapping c api, although this may simplify the
> code in other cases when subscript doesn't have it's own state and(or) share
> some state form the container.
>