-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
According to the specification section 3:
MAP and
TNSvalues are reference (aliasing) types: assigning aMAPorTNSto another identifier copies a reference to the same underlying container rather than performing an implicit deep copy. Mutating a map (viamap<...> = ...,DEL, or other mutating operators) or mutating a tensor element through indexed assignment will be observed through any other identifier that references the same container. Use the built-inCOPY(shallow copy) orDEEPCOPY(recursive deep copy) operators when a non-aliased duplicate is REQUIRED.
This MUST be changed, with MAP and TNS becoming atomic (de-referenced) types like the other types.
Update both the implementation and the specification.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request