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.

here is an example: 

another option would be use set/get functions, but it doesn't feel right.

Thank you
swift-evolution mailing list

Reply via email to