Memory layout of enums


(KS Sreeram) #1

Hi

Is there any place I can read about the memory layout of enums with associated values? I’m only interested in POD types. Thanks in advance.

Best
KS Sreeram


(Martin R) #2

I think that is treated in https://github.com/apple/swift/blob/master/docs/ABI.rst, in the sections "Single-Payload Enums" and "Multi-Payload Enums".

Martin

···

On 01 Aug 2016, at 08:36, KS Sreeram via swift-users <swift-users@swift.org> wrote:

Hi

Is there any place I can read about the memory layout of enums with associated values? I’m only interested in POD types. Thanks in advance.

Best
KS Sreeram

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users