История изменений
Исправление hateyoufeel, (текущая версия) :
http://www.iso-9899.info/n1570.html
Раздел 6.5, пункт 7.
7 An object shall have its stored value accessed only by an lvalue expression that has one of
the following types:88)
-- a type compatible with the effective type of the object,
-- a qualified version of a type compatible with the effective type of the object,
-- a type that is the signed or unsigned type corresponding to the effective type of the
object,
-- a type that is the signed or unsigned type corresponding to a qualified version of the
effective type of the object,
-- an aggregate or union type that includes one of the aforementioned types among its
members (including, recursively, a member of a subaggregate or contained union), or
-- a character type.
Footnote 88) The intent of this list is to specify those circumstances in which an object may or may not be aliased.
Кстати, я похоже там выше яростно гнал. Через char* таки можно по данным лазать.
Исходная версия hateyoufeel, :
http://www.iso-9899.info/n1570.html
Раздел 6.5, пункт 7.
7 An object shall have its stored value accessed only by an lvalue expression that has one of
the following types:88)
-- a type compatible with the effective type of the object,
-- a qualified version of a type compatible with the effective type of the object,
-- a type that is the signed or unsigned type corresponding to the effective type of the
object,
-- a type that is the signed or unsigned type corresponding to a qualified version of the
effective type of the object,
-- an aggregate or union type that includes one of the aforementioned types among its
members (including, recursively, a member of a subaggregate or contained union), or
-- a character type.