C++相談室 part125 [無断転載禁止]©5ch.io
■ このスレッドは過去ログ倉庫に格納されています
0022デフォルトの名無しさん (アウアウ Sab5-MTTD)
2016/05/23(月) 12:48:08.66ID:L1e0GZEGa9.2.21
A pointer to a standard-layout struct object, suitably converted using a reinterpret_cast, points to its
initial member (or if that member is a bit-field, then to the unit in which it resides) and vice versa. [ Note:
There might therefore be unnamed padding within a standard-layout struct object, but not at its beginning,
as necessary to achieve appropriate alignment. — end note ]
■ このスレッドは過去ログ倉庫に格納されています