A
enum class ubyte : unsigned char {};
Size: a a a
DS
enum class ubyte : unsigned char {};
N
N
char
, unsigned char
, std :: byte
For any object (other than a base-class subobject) of trivially copyable type T, whether or not the object holds a valid value of type T, the underlying bytes ([intro.memory]) making up the object can be copied into an array of char, unsigned char, or std :: byte ([cstddef.syn]).43 If the content of that array is copied back into the object, the object shall subsequently hold its original value.
DS
N
N
A
char
, unsigned char
, std :: byte
For any object (other than a base-class subobject) of trivially copyable type T, whether or not the object holds a valid value of type T, the underlying bytes ([intro.memory]) making up the object can be copied into an array of char, unsigned char, or std :: byte ([cstddef.syn]).43 If the content of that array is copied back into the object, the object shall subsequently hold its original value.
AS
A
AS
AS
AS