|
|
2
|
|
PPL-LLR-000312
|
|
Independent values after copying domain objects
|
When a supported numerical domain object is copied by value into another object of the same domain and scalar instantiation, the copy shall initially represent the same numerical set and dimension. Subsequent mutation of either value shall not change the other value's represented set.
|
Clients need predictable value semantics regardless of internal sharing or deferred normalization.
|
|
|
APPROVED
|
LIBRARY_WIDE
|
IF_CPP
|
Test, Analysis, Review
|
Construct and copy representative empty, universe and constrained domain values. Mutate each copy independently and check that only the selected value changes; include copies made before and after normalization.
|
src/Polyhedron_defs.hh: copy construction; src/Grid_defs.hh: copy construction; src/BD_Shape_defs.hh; src/Octagonal_Shape_defs.hh; src/Box_defs.hh.
|
|
|
|