I share the minor concerns that have been expressed so far.
My first thought on this topic ("MyStruct.size") had a obvious flaw, but I
wouldn't fear name collisions with something like "MyStruct.memoryLayout.size".
This one most likely has issues as well, but imho they aren't that obvious and
deserve being discussed in the alternatives-section (or a short answer here to
wake up my tired mind ;-)
- Tino
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution