Avatar
field のオフセットを Swift のコードから見えるようにする提案 https://forums.swift.org/t/offsetof-like-functionality-for-stored-property-key-paths/11309 (edited)
Swift currently lacks a way to ask the compiler for the offset of a stored property in a struct, an important thing for describing the layout of data buffers to graphics and accelerated math libraries. Key paths have to carry offset information when they refer to stored prope...
12:04 PM
The Swift Programming Language. Contribute to apple/swift development by creating an account on GitHub.