Comment on Structs and ImmutableStructsparentComments−thekaleb12yThis will work with pass-by-value primitives, but not pass-by-reference objects unless the getter re-creates the object for every get action.
Comments
This will work with pass-by-value primitives, but not pass-by-reference objects unless the getter re-creates the object for every get action.