|
|
|
|
|
by AlotOfReading
38 days ago
|
|
Unaligned pointers are undefined behavior even when the hardware fully supports unaligned access, because you're violating the type's rules. To be honest, I've never seen much indication that the C and C++ committees are particularly fond of each other. They sometimes coordinate, but they're mostly content letting each other evolve in different directions. C is the way it is only after a long process of evolution away from the bits and bytes of BCPL into the strictly typed language we got from ASNI. |
|