<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:large">Hi,</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large"><br></div><div class="gmail_default"><font face="monospace, monospace" size="4">After reading the Ray Wenderlich website tutorial [1]</font><font face="monospace, monospace" size="4"> about Unsafe Swift, </font><span style="font-family:monospace,monospace;font-size:large">I was checking out this file [3] inside swift/</span>stdlib<span style="font-family:monospace,monospace;font-size:large">/public/core titled MemoryLayout.swift.  However, I was confused about the @_transparent before the each data member inside the enum.  Why is this enum with the data members allowed by the Swift 3 language?  What does @_transparent allow you to do that you might not otherwise?  Could someone explain because the documentation is still unclear [2]?</span></div><div class="gmail_default"><font face="monospace, monospace" size="4"><br></font></div><div><div class="gmail-m_-3874684313578852605gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Thanks!</div><div><br></div><div>Best,</div><div><br></div><div>Shyamal Chandra</div><div><a href="mailto:shyamalc@gmail.com" target="_blank">shyamalc@gmail.com</a></div><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large">Sources:</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large"><font face="monospace, monospace" size="4">[1] </font><a href="https://www.raywenderlich.com/148569/unsafe-swift">https://www.raywenderlich.com/148569/unsafe-swift</a><br></div></div><div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large">[2] <a href="https://github.com/apple/swift/blob/master/docs/TransparentAttr.rst">https://github.com/apple/swift/blob/master/docs/TransparentAttr.rst</a></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:large">[3] <a href="https://github.com/apple/swift/blob/master/stdlib/public/core/MemoryLayout.swift">https://github.com/apple/swift/blob/master/stdlib/public/core/MemoryLayout.swift</a></div><br></div></div></div></div></div></div></div></div>
</div>