object representation and value representation
- by FredOverflow
3.9 §4 says:
The object representation of an object of type T is the sequence of N unsigned char objects taken up by the object of type T, where N equals sizeof(T). The value representation of an object is the set of bits that hold the value of type T. For trivially copyable types, the value representation is a set of bits in the object representation that determines a value, which is one discrete element of an implementation-defined set of
values.
Does "The value representation of an object" imply that values are always stored in objects?
What is the value representation of non-trivially copyable types?