[SR-3590] Implicitly convert &Tuple to UnsafePointer<Tuple.Element> #46175
Labels
compiler
The Swift compiler itself
duplicate
Resolution: Duplicates another issue
feature
A feature request or implementation
swift evolution proposal needed
Flag → feature: A feature that warrants a Swift evolution proposal
Additional Detail from JIRA
md5: 324b77b6bdc9f425f17f3e1bfc47b11b
duplicates:
relates to:
Issue Description:
For convenience add implicit casting from a tuple address to an unsafe pointer to its elements.
This is a natural thing to do and should not require dropping down to a raw pointer and rebinding memory.
See SR-2471.
Example use case:
The text was updated successfully, but these errors were encountered: