C++相談室 part90
■ このスレッドは過去ログ倉庫に格納されています
0236デフォルトの名無しさん
2011/07/26(火) 15:35:52.25「voidのアライメントなんて定義されてねー」と言いがかりつけてくるのがいるので、
voidが特記された。
5.2.10 p7
A pointer to an object can be explicitly converted to a pointer to an object of
different type. Except that converting an rvalue of type 懼pointer to T1懼
to the type 懼pointer to T2懼 (where T1 and T2 are object types and where the
alignment requirements of T2 are no stricter than those of T1) and back to its
original type yields the original pointer value, the result of such a pointer
conversion is unspecified
■ このスレッドは過去ログ倉庫に格納されています