|
|
|
|
|
by pascal_cuoq
2260 days ago
|
|
Please explain to me why you think it is. The clause says: “If the value being stored in an object is read from another object that overlaps in any way the storage of the first object, then the overlap shall be exact and the two objects shall have qualified or unqualified versions of a compatible type; otherwise, the behavior is undefined.” Under “6.5.16.1 Simple assignment”, so this describes a rule about assignment. Which assignment in the program are you claiming stores in an object a value read from another object that overlaps in any way the storage of the first object? |
|