Aug 24, 2021
Not sure what you mean when you say COW explicity implemented, or what you mean by reference storage.
If you look at the call stack, Swift passes structs by reference (address) to avoid copying all of the data. The only caveat is if the struct contains object references, then additional code is added to update ARC reference counts.
Code?